Skip to content

Commit e5340d3

Browse files
author
Jenita
committed
feat: created genesis pools from shelly genesis
Signed-off-by: Jenita <[email protected]>
1 parent 0f9eabb commit e5340d3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ledger/common/certs.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -376,18 +376,18 @@ func (p *PoolRelay) Utxorpc() (*utxorpc.Relay, error) {
376376
}
377377

378378
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"`
391391
}
392392

393393
func (p *PoolRegistrationCertificate) UnmarshalJSON(data []byte) error {

0 commit comments

Comments
 (0)