@@ -4736,7 +4736,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4736
4736
latest_monitor_update_id: self.latest_monitor_update_id,
4737
4737
shutdown_scriptpubkey: self.shutdown_scriptpubkey.clone(),
4738
4738
destination_script: self.destination_script.clone(),
4739
- // holder_commitment_point: self.holder_commitment_point,
4740
4739
cur_counterparty_commitment_transaction_number: self.cur_counterparty_commitment_transaction_number,
4741
4740
value_to_self_msat: self.value_to_self_msat,
4742
4741
pending_inbound_htlcs: self.pending_inbound_htlcs.clone(),
@@ -4904,7 +4903,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4904
4903
// self.channel_state = ChannelState::NegotiatingFunding(
4905
4904
// NegotiatingFundingFlags::OUR_INIT_SENT | NegotiatingFundingFlags::THEIR_INIT_SENT
4906
4905
// );
4907
- log_info!(logger, "Splicing process started, old channel value {}, outgoing {}, channel_id {}",
4906
+ log_info!(logger, "Splicing process started, new channel value {}, outgoing {}, channel_id {}",
4908
4907
self.channel_value_satoshis, is_outgoing, self.channel_id);
4909
4908
}
4910
4909
@@ -9909,6 +9908,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9909
9908
our_funding_inputs: funding_inputs,
9910
9909
},
9911
9910
interactive_tx_constructor: None,
9911
+ #[cfg(splicing)]
9912
9912
pending_splice_post: None,
9913
9913
};
9914
9914
Ok(chan)
@@ -9918,7 +9918,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9918
9918
#[cfg(splicing)]
9919
9919
pub fn new_spliced<L: Deref>(
9920
9920
is_outbound: bool,
9921
- pre_splice_channel: &mut FundedChannel<SP>,
9921
+ pre_splice_channel: &FundedChannel<SP>,
9922
9922
signer_provider: &SP,
9923
9923
counterparty_funding_pubkey: &PublicKey,
9924
9924
our_funding_contribution: i64,
@@ -9951,7 +9951,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9951
9951
9952
9952
let context = ChannelContext::new_for_splice(
9953
9953
&pre_splice_channel.context,
9954
- true ,
9954
+ is_outbound ,
9955
9955
counterparty_funding_pubkey,
9956
9956
our_funding_contribution,
9957
9957
their_funding_contribution,
0 commit comments