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 92d1ce7 commit c1a7b0aCopy full SHA for c1a7b0a
lightning/src/events/bump_transaction/mod.rs
@@ -536,7 +536,7 @@ where
536
}
537
while !selected_utxos.is_empty()
538
&& selected_amount - selected_utxos.front().unwrap().0.output.value
539
- >= target_amount_sat + total_fees
+ >= target_amount_sat + total_fees - selected_utxos.front().unwrap().1
540
{
541
let (smallest_value_after_spend_utxo, fee_to_spend_utxo) =
542
selected_utxos.pop_front().unwrap();
0 commit comments