Skip to content

Commit 6060976

Browse files
committed
fix: don't try to parse Shelley TX certificates for now
Fixes #232
1 parent 3d57417 commit 6060976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledger/shelley.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ type ShelleyTransactionBody struct {
111111
Fee uint64 `cbor:"2,keyasint,omitempty"`
112112
Ttl uint64 `cbor:"3,keyasint,omitempty"`
113113
// TODO: figure out how to parse properly
114-
Certificates []cbor.Value `cbor:"4,keyasint,omitempty"`
114+
Certificates cbor.RawMessage `cbor:"4,keyasint,omitempty"`
115115
// TODO: figure out how to parse this correctly
116116
// We keep the raw CBOR because it can contain a map with []byte keys, which
117117
// Go does not allow

0 commit comments

Comments
 (0)