File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11134,7 +11134,7 @@ where
11134
11134
};
11135
11135
11136
11136
let our_funding_contribution = funding_negotiation_context.our_funding_contribution;
11137
- debug_assert!(our_funding_contribution <= SignedAmount::MAX_MONEY);
11137
+ debug_assert!(our_funding_contribution.abs() <= SignedAmount::MAX_MONEY);
11138
11138
11139
11139
let their_funding_contribution = SignedAmount::from_sat(msg.funding_contribution_satoshis);
11140
11140
self.validate_splice_contribution(their_funding_contribution)?;
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ pub enum SpliceContribution {
24
24
/// The amount to contribute to the splice.
25
25
value : Amount ,
26
26
27
- /// The inputs included in the splice's funding transaction to meet the contributed amount.
28
- /// Any excess amount will be sent to a change output.
27
+ /// The inputs included in the splice's funding transaction to meet the contributed amount
28
+ /// plus fees. Any excess amount will be sent to a change output.
29
29
inputs : Vec < FundingTxInput > ,
30
30
31
31
/// An optional change output script. This will be used if needed or, when not set,
@@ -35,7 +35,7 @@ pub enum SpliceContribution {
35
35
/// When funds are removed from a channel.
36
36
SpliceOut {
37
37
/// The outputs to include in the splice's funding transaction. The total value of all
38
- /// outputs will be the amount that is removed.
38
+ /// outputs plus fees will be the amount that is removed.
39
39
outputs : Vec < TxOut > ,
40
40
} ,
41
41
}
You can’t perform that action at this time.
0 commit comments