@@ -4608,7 +4608,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4608
4608
latest_monitor_update_id: self.latest_monitor_update_id,
4609
4609
shutdown_scriptpubkey: self.shutdown_scriptpubkey.clone(),
4610
4610
destination_script: self.destination_script.clone(),
4611
- // holder_commitment_point: self.holder_commitment_point,
4612
4611
cur_counterparty_commitment_transaction_number: self.cur_counterparty_commitment_transaction_number,
4613
4612
value_to_self_msat: self.value_to_self_msat,
4614
4613
pending_inbound_htlcs: self.pending_inbound_htlcs.clone(),
@@ -4778,7 +4777,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4778
4777
// self.channel_state = ChannelState::NegotiatingFunding(
4779
4778
// NegotiatingFundingFlags::OUR_INIT_SENT | NegotiatingFundingFlags::THEIR_INIT_SENT
4780
4779
// );
4781
- log_info!(logger, "Splicing process started, old channel value {}, outgoing {}, channel_id {}",
4780
+ log_info!(logger, "Splicing process started, new channel value {}, outgoing {}, channel_id {}",
4782
4781
self.channel_value_satoshis, is_outgoing, self.channel_id);
4783
4782
}
4784
4783
@@ -9818,6 +9817,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9818
9817
our_funding_inputs: funding_inputs,
9819
9818
},
9820
9819
interactive_tx_constructor: None,
9820
+ #[cfg(splicing)]
9821
9821
pending_splice_post: None,
9822
9822
};
9823
9823
Ok(chan)
@@ -9827,7 +9827,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9827
9827
#[cfg(splicing)]
9828
9828
pub fn new_spliced<L: Deref>(
9829
9829
is_outbound: bool,
9830
- pre_splice_channel: &mut FundedChannel<SP>,
9830
+ pre_splice_channel: &FundedChannel<SP>,
9831
9831
signer_provider: &SP,
9832
9832
counterparty_funding_pubkey: &PublicKey,
9833
9833
our_funding_contribution: i64,
@@ -9860,7 +9860,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
9860
9860
9861
9861
let context = ChannelContext::new_for_splice(
9862
9862
&pre_splice_channel.context,
9863
- true ,
9863
+ is_outbound ,
9864
9864
counterparty_funding_pubkey,
9865
9865
our_funding_contribution,
9866
9866
their_funding_contribution,
@@ -10160,7 +10160,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
10160
10160
#[cfg(splicing)]
10161
10161
pending_splice_pre: None,
10162
10162
#[cfg(splicing)]
10163
- pending_splice_post: None ,
10163
+ pending_splice_post: self.pending_splice_post ,
10164
10164
};
10165
10165
10166
10166
Ok(channel)
0 commit comments