@@ -4909,7 +4909,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4909
4909
latest_monitor_update_id: self.latest_monitor_update_id,
4910
4910
shutdown_scriptpubkey: self.shutdown_scriptpubkey.clone(),
4911
4911
destination_script: self.destination_script.clone(),
4912
- // holder_commitment_point: self.holder_commitment_point,
4913
4912
cur_counterparty_commitment_transaction_number: self.cur_counterparty_commitment_transaction_number,
4914
4913
// value_to_self_msat: self.value_to_self_msat,
4915
4914
pending_inbound_htlcs: self.pending_inbound_htlcs.clone(),
@@ -10364,6 +10363,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
10364
10363
},
10365
10364
interactive_tx_constructor: None,
10366
10365
interactive_tx_signing_session: None,
10366
+ #[cfg(splicing)]
10367
10367
pending_splice_post: None,
10368
10368
};
10369
10369
Ok(chan)
@@ -10373,7 +10373,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
10373
10373
#[cfg(splicing)]
10374
10374
pub fn new_spliced<L: Deref>(
10375
10375
is_outbound: bool,
10376
- pre_splice_channel: &mut FundedChannel<SP>,
10376
+ pre_splice_channel: &FundedChannel<SP>,
10377
10377
signer_provider: &SP,
10378
10378
// counterparty_funding_pubkey: &PublicKey,
10379
10379
our_funding_contribution: i64,
@@ -10407,7 +10407,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
10407
10407
let (context, funding) = ChannelContext::new_for_splice(
10408
10408
&pre_splice_channel.context,
10409
10409
&pre_splice_channel.funding,
10410
- true ,
10410
+ is_outbound ,
10411
10411
// counterparty_funding_pubkey,
10412
10412
our_funding_contribution,
10413
10413
their_funding_contribution,
0 commit comments