File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -376,18 +376,18 @@ func (p *PoolRelay) Utxorpc() (*utxorpc.Relay, error) {
376
376
}
377
377
378
378
type PoolRegistrationCertificate struct {
379
- cbor.StructAsArray
380
- cbor.DecodeStoreCbor
381
- CertType uint
382
- Operator PoolKeyHash
383
- VrfKeyHash VrfKeyHash
384
- Pledge uint64
385
- Cost uint64
386
- Margin cbor.Rat
387
- RewardAccount AddrKeyHash
388
- PoolOwners []AddrKeyHash
389
- Relays []PoolRelay
390
- PoolMetadata * PoolMetadata
379
+ cbor.StructAsArray `json:"-"`
380
+ cbor.DecodeStoreCbor `json:"-"`
381
+ CertType uint `json:"certType,omitempty"`
382
+ Operator PoolKeyHash `json:"operator"`
383
+ VrfKeyHash VrfKeyHash `json:"vrfKeyHash"`
384
+ Pledge uint64 `json:"pledge"`
385
+ Cost uint64 `json:"cost"`
386
+ Margin cbor.Rat `json:"margin"`
387
+ RewardAccount AddrKeyHash `json:"rewardAccount"`
388
+ PoolOwners []AddrKeyHash `json:"poolOwners"`
389
+ Relays []PoolRelay `json:"relays"`
390
+ PoolMetadata * PoolMetadata `json:"poolMetadata,omitempty"`
391
391
}
392
392
393
393
func (p * PoolRegistrationCertificate ) UnmarshalJSON (data []byte ) error {
You can’t perform that action at this time.
0 commit comments