File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10742,7 +10742,7 @@ where
10742
10742
// by the funding inputs.
10743
10743
let adjusted_funding_contribution = if our_funding_contribution < SignedAmount::ZERO {
10744
10744
let adjusted_funding_contribution = our_funding_contribution
10745
- + fees.to_signed().expect("fees should never exceed splice-out value");
10745
+ - fees.to_signed().expect("fees should never exceed splice-out value");
10746
10746
10747
10747
// TODO(splicing): Check that channel balance does not go below the channel reserve
10748
10748
let _post_channel_balance = AddSigned::checked_add_signed(
@@ -10800,7 +10800,7 @@ where
10800
10800
10801
10801
Ok(msgs::SpliceInit {
10802
10802
channel_id: self.context.channel_id,
10803
- funding_contribution_satoshis: our_funding_contribution .to_sat(),
10803
+ funding_contribution_satoshis: adjusted_funding_contribution .to_sat(),
10804
10804
funding_feerate_per_kw,
10805
10805
locktime,
10806
10806
funding_pubkey,
You can’t perform that action at this time.
0 commit comments