Skip to content

Commit 56f35ff

Browse files
committed
fix typo
1 parent a99f460 commit 56f35ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/tx_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ impl TransactionBuilder {
597597
.cloned()
598598
.collect::<Vec<TransactionOutput>>();
599599
outputs.sort_by_key(|output| by(&output.amount).expect("filtered above"));
600-
let available_coins = by(input_total).unwrap_or(BigNum::zero());
600+
let mut available_coins = by(input_total).unwrap_or(BigNum::zero());
601601
for output in outputs.iter().rev() {
602602
// TODO: how should we adapt this to inputs being associated when running for other assets?
603603
// if we do these two phases for each asset and don't take into account the other runs for other assets

0 commit comments

Comments
 (0)