Skip to content

Commit c900505

Browse files
committed
fix: add tx mapper cbor
1 parent 97687cf commit c900505

File tree

1 file changed

+1
-0
lines changed
  • packages/ogmios/src/ogmiosToCore

1 file changed

+1
-0
lines changed

packages/ogmios/src/ogmiosToCore/tx.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ const mapCommonTx = (tx: Schema.Transaction): Cardano.OnChainTx => {
436436
withdrawals: mapWithdrawals(tx.withdrawals)
437437
})
438438
},
439+
cbor: tx.cbor ? Serialization.TxCBOR(tx.cbor) : undefined,
439440
id: Cardano.TransactionId(tx.id),
440441
// At the time of writing Byron transactions didn't set this property
441442
inputSource: mapInputSource(tx.spends),

0 commit comments

Comments
 (0)