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 bbbed44 commit 44f6ba6Copy full SHA for 44f6ba6
lightning/src/ln/channel.rs
@@ -10729,7 +10729,7 @@ where
10729
// by the funding inputs.
10730
let adjusted_funding_contribution = if our_funding_contribution < SignedAmount::ZERO {
10731
let adjusted_funding_contribution = our_funding_contribution
10732
- - fees.to_signed().expect("fees should never exceed splice-out value");
+ - fees.to_signed().expect("fees should never exceed Amount::MAX_MONEY");
10733
10734
// TODO(splicing): Check that channel balance does not go below the channel reserve
10735
let _post_channel_balance = AddSigned::checked_add_signed(
0 commit comments