Skip to content

Commit

Permalink
fix dataInputs mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Jun 17, 2024
1 parent 63a4453 commit 9747cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nautilus-wallet",
"version": "0.10.3",
"version": "0.10.4",
"private": true,
"type": "module",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/chains/ergo/transaction/prover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function mapLedgerInputs(tx: UnsignedTransaction, inputs: ErgoBoxes, addresses:
}

function mapLedgerDataInputs(dataInputs: ErgoBoxes) {
const boxIds = Array.from<string>({ length: dataInputs.len() });
const boxIds: string[] = [];
for (let i = 0; i < dataInputs.len(); i++) {
boxIds.push(dataInputs.get(i).box_id().to_str());
}
Expand Down

0 comments on commit 9747cca

Please sign in to comment.