Skip to content

Commit 44f6ba6

Browse files
committed
f - rephrase expect message
1 parent bbbed44 commit 44f6ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10729,7 +10729,7 @@ where
1072910729
// by the funding inputs.
1073010730
let adjusted_funding_contribution = if our_funding_contribution < SignedAmount::ZERO {
1073110731
let adjusted_funding_contribution = our_funding_contribution
10732-
- fees.to_signed().expect("fees should never exceed splice-out value");
10732+
- fees.to_signed().expect("fees should never exceed Amount::MAX_MONEY");
1073310733

1073410734
// TODO(splicing): Check that channel balance does not go below the channel reserve
1073510735
let _post_channel_balance = AddSigned::checked_add_signed(

0 commit comments

Comments
 (0)