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 @@ -10734,7 +10734,7 @@ where
10734
10734
// by the funding inputs.
10735
10735
let adjusted_funding_contribution = if our_funding_contribution < SignedAmount::ZERO {
10736
10736
let adjusted_funding_contribution = our_funding_contribution
10737
- + fees.to_signed().expect("fees should never exceed splice-out value");
10737
+ - fees.to_signed().expect("fees should never exceed splice-out value");
10738
10738
10739
10739
// TODO(splicing): Check that channel balance does not go below the channel reserve
10740
10740
let _post_channel_balance = AddSigned::checked_add_signed(
@@ -10792,7 +10792,7 @@ where
10792
10792
10793
10793
Ok(msgs::SpliceInit {
10794
10794
channel_id: self.context.channel_id,
10795
- funding_contribution_satoshis: our_funding_contribution .to_sat(),
10795
+ funding_contribution_satoshis: adjusted_funding_contribution .to_sat(),
10796
10796
funding_feerate_per_kw,
10797
10797
locktime,
10798
10798
funding_pubkey,
You can’t perform that action at this time.
0 commit comments