Skip to content

Commit

Permalink
refactor(ogmios-mapper): add cbor field explicitely
Browse files Browse the repository at this point in the history
  • Loading branch information
will-break-it committed Aug 9, 2024
1 parent b490778 commit 6effed6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ogmios/src/ogmiosToCore/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ export const mapBlockBody = (block: CommonBlock | Schema.BlockBFT): Cardano.Bloc
!isByronEraBlock(block) && transaction.cbor
? {
...Serialization.Transaction.fromCbor(transaction.cbor as Serialization.TxCBOR).toCore(),
cbor: transaction.cbor as Serialization.TxCBOR,
inputSource: mapInputSource(transaction.spends)
}
: mapCommonTx(transaction)
Expand Down

0 comments on commit 6effed6

Please sign in to comment.