@@ -3406,7 +3406,8 @@ macro_rules! handle_monitor_update_completion {
34063406 &mut $peer_state.pending_msg_events, $chan, updates.raa,
34073407 updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
34083408 updates.funding_broadcastable, updates.channel_ready,
3409- updates.announcement_sigs, updates.tx_signatures, None);
3409+ updates.announcement_sigs, updates.tx_signatures, None, None,
3410+ );
34103411 if let Some(upd) = channel_update {
34113412 $peer_state.pending_msg_events.push(upd);
34123413 }
@@ -8059,9 +8060,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
80598060 funding_broadcastable: Option<Transaction>,
80608061 channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
80618062 tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8063+ splice_locked: Option<msgs::SpliceLocked>,
80628064 ) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
80638065 let logger = WithChannelContext::from(&self.logger, &channel.context, None);
8064- log_trace!(logger, "Handling channel resumption for channel {} with {} RAA, {} commitment update, {} pending forwards, {} pending update_add_htlcs, {}broadcasting funding, {} channel ready, {} announcement, {} tx_signatures, {} tx_abort",
8066+ log_trace!(logger, "Handling channel resumption for channel {} with {} RAA, {} commitment update, {} pending forwards, {} pending update_add_htlcs, {}broadcasting funding, {} channel ready, {} announcement, {} tx_signatures, {} tx_abort, {} splice_locked ",
80658067 &channel.context.channel_id(),
80668068 if raa.is_some() { "an" } else { "no" },
80678069 if commitment_update.is_some() { "a" } else { "no" },
@@ -8071,6 +8073,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
80718073 if announcement_sigs.is_some() { "sending" } else { "without" },
80728074 if tx_signatures.is_some() { "sending" } else { "without" },
80738075 if tx_abort.is_some() { "sending" } else { "without" },
8076+ if splice_locked.is_some() { "sending" } else { "without" },
80748077 );
80758078
80768079 let counterparty_node_id = channel.context.get_counterparty_node_id();
@@ -8110,6 +8113,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
81108113 msg,
81118114 });
81128115 }
8116+ if let Some(msg) = splice_locked {
8117+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8118+ node_id: counterparty_node_id,
8119+ msg,
8120+ });
8121+ }
81138122
81148123 macro_rules! handle_cs { () => {
81158124 if let Some(update) = commitment_update {
@@ -10054,7 +10063,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1005410063 let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
1005510064 &mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
1005610065 Vec::new(), Vec::new(), None, responses.channel_ready, responses.announcement_sigs,
10057- responses.tx_signatures, responses.tx_abort);
10066+ responses.tx_signatures, responses.tx_abort, responses.splice_locked,
10067+ );
1005810068 debug_assert!(htlc_forwards.is_none());
1005910069 debug_assert!(decode_update_add_htlcs.is_none());
1006010070 if let Some(upd) = channel_update {
0 commit comments