Skip to content

Commit

Permalink
select utxos last
Browse files Browse the repository at this point in the history
  • Loading branch information
micahkendall committed Jan 16, 2024
1 parent 89c6304 commit 3a1e5c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/translucent/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,6 @@ export class Tx {
);
};
};
this.txBuilder.select_utxos(2);

{
let foundUtxo = utxoToCore(walletUTxOs.filter(
Expand Down Expand Up @@ -892,6 +891,8 @@ export class Tx {
this.txBuilder.set_collateral_return(collateralReturn);
}
}

this.txBuilder.select_utxos(2);
let txRedeemerBuilder = this.txBuilder.build_for_evaluation(
0,
changeAddress,
Expand Down

0 comments on commit 3a1e5c8

Please sign in to comment.