Skip to content

Commit cfec158

Browse files
committed
Minor comments added, review
1 parent bee7e7f commit cfec158

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,6 +2108,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
21082108
let change_output_weight = get_output_weight(&change_output.script_pubkey).to_wu();
21092109
let change_output_fee = fee_for_weight(self.dual_funding_context.funding_feerate_sat_per_1000_weight, change_output_weight);
21102110
change_output.value = Amount::from_sat(change_value.saturating_sub(change_output_fee));
2111+
// Note: dust check not done here, should be handled before
21112112
funding_outputs.push(OutputOwned::Single(change_output));
21122113
}
21132114

0 commit comments

Comments
 (0)