@@ -3408,7 +3408,8 @@ macro_rules! handle_monitor_update_completion {
34083408 &mut $peer_state.pending_msg_events, $chan, updates.raa,
34093409 updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
34103410 updates.funding_broadcastable, updates.channel_ready,
3411- updates.announcement_sigs, updates.tx_signatures, None);
3411+ updates.announcement_sigs, updates.tx_signatures, None, None,
3412+ );
34123413 if let Some(upd) = channel_update {
34133414 $peer_state.pending_msg_events.push(upd);
34143415 }
@@ -8088,9 +8089,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
80888089 funding_broadcastable: Option<Transaction>,
80898090 channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
80908091 tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8092+ splice_locked: Option<msgs::SpliceLocked>,
80918093 ) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
80928094 let logger = WithChannelContext::from(&self.logger, &channel.context, None);
8093- 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",
8095+ 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 ",
80948096 &channel.context.channel_id(),
80958097 if raa.is_some() { "an" } else { "no" },
80968098 if commitment_update.is_some() { "a" } else { "no" },
@@ -8100,6 +8102,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
81008102 if announcement_sigs.is_some() { "sending" } else { "without" },
81018103 if tx_signatures.is_some() { "sending" } else { "without" },
81028104 if tx_abort.is_some() { "sending" } else { "without" },
8105+ if splice_locked.is_some() { "sending" } else { "without" },
81038106 );
81048107
81058108 let counterparty_node_id = channel.context.get_counterparty_node_id();
@@ -8139,6 +8142,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
81398142 msg,
81408143 });
81418144 }
8145+ if let Some(msg) = splice_locked {
8146+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8147+ node_id: counterparty_node_id,
8148+ msg,
8149+ });
8150+ }
81428151
81438152 macro_rules! handle_cs { () => {
81448153 if let Some(update) = commitment_update {
@@ -10083,7 +10092,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1008310092 let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
1008410093 &mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
1008510094 Vec::new(), Vec::new(), None, responses.channel_ready, responses.announcement_sigs,
10086- responses.tx_signatures, responses.tx_abort);
10095+ responses.tx_signatures, responses.tx_abort, responses.splice_locked,
10096+ );
1008710097 debug_assert!(htlc_forwards.is_none());
1008810098 debug_assert!(decode_update_add_htlcs.is_none());
1008910099 if let Some(upd) = channel_update {
0 commit comments