Skip to content

Commit

Permalink
fix bug in CardanoChain.rawTxToPaymentTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
RaaCT0R committed Nov 28, 2023
1 parent d560cda commit f1e7c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chains/cardano/lib/CardanoChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ class CardanoChain extends AbstractUtxoChain<CardanoUtxo> {
const inputs = tx.body().inputs();
for (let i = 0; i < inputs.len(); i++) {
const utxoInfo = inputs.get(i);
const boxId = `${utxoInfo.transaction_id().to_hex()}.${utxoInfo.index}`;
const boxId = `${utxoInfo.transaction_id().to_hex()}.${utxoInfo.index()}`;
inputBoxes.push(await this.network.getUtxo(boxId));
}

Expand Down

0 comments on commit f1e7c8d

Please sign in to comment.