We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99f460 commit 56f35ffCopy full SHA for 56f35ff
rust/src/tx_builder.rs
@@ -597,7 +597,7 @@ impl TransactionBuilder {
597
.cloned()
598
.collect::<Vec<TransactionOutput>>();
599
outputs.sort_by_key(|output| by(&output.amount).expect("filtered above"));
600
- let available_coins = by(input_total).unwrap_or(BigNum::zero());
+ let mut available_coins = by(input_total).unwrap_or(BigNum::zero());
601
for output in outputs.iter().rev() {
602
// TODO: how should we adapt this to inputs being associated when running for other assets?
603
// if we do these two phases for each asset and don't take into account the other runs for other assets
0 commit comments