We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 418cb3b commit bbbed44Copy full SHA for bbbed44
1 file changed
lightning/src/ln/channel.rs
@@ -5895,7 +5895,7 @@ fn check_splice_contribution_sufficient(
5895
funding_feerate.to_sat_per_kwu() as u32,
5896
));
5897
5898
- if channel_balance > contribution_amount.unsigned_abs() + estimated_fee {
+ if channel_balance >= contribution_amount.unsigned_abs() + estimated_fee {
5899
Ok(estimated_fee)
5900
} else {
5901
Err(ChannelError::Warn(format!(
0 commit comments