@@ -3402,7 +3402,8 @@ macro_rules! handle_monitor_update_completion {
3402
3402
&mut $peer_state.pending_msg_events, $chan, updates.raa,
3403
3403
updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
3404
3404
updates.funding_broadcastable, updates.channel_ready,
3405
- updates.announcement_sigs, updates.tx_signatures, None);
3405
+ updates.announcement_sigs, updates.tx_signatures, None, None,
3406
+ );
3406
3407
if let Some(upd) = channel_update {
3407
3408
$peer_state.pending_msg_events.push(upd);
3408
3409
}
@@ -8918,9 +8919,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8918
8919
funding_broadcastable: Option<Transaction>,
8919
8920
channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
8920
8921
tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8922
+ splice_locked: Option<msgs::SpliceLocked>,
8921
8923
) -> (Option<(u64, PublicKey, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
8922
8924
let logger = WithChannelContext::from(&self.logger, &channel.context, None);
8923
- 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",
8925
+ 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 ",
8924
8926
&channel.context.channel_id(),
8925
8927
if raa.is_some() { "an" } else { "no" },
8926
8928
if commitment_update.is_some() { "a" } else { "no" },
@@ -8930,6 +8932,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8930
8932
if announcement_sigs.is_some() { "sending" } else { "without" },
8931
8933
if tx_signatures.is_some() { "sending" } else { "without" },
8932
8934
if tx_abort.is_some() { "sending" } else { "without" },
8935
+ if splice_locked.is_some() { "sending" } else { "without" },
8933
8936
);
8934
8937
8935
8938
let counterparty_node_id = channel.context.get_counterparty_node_id();
@@ -8970,6 +8973,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8970
8973
msg,
8971
8974
});
8972
8975
}
8976
+ if let Some(msg) = splice_locked {
8977
+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8978
+ node_id: counterparty_node_id,
8979
+ msg,
8980
+ });
8981
+ }
8973
8982
8974
8983
macro_rules! handle_cs { () => {
8975
8984
if let Some(update) = commitment_update {
@@ -11012,7 +11021,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
11012
11021
let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
11013
11022
&mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
11014
11023
Vec::new(), Vec::new(), None, responses.channel_ready, responses.announcement_sigs,
11015
- responses.tx_signatures, responses.tx_abort);
11024
+ responses.tx_signatures, responses.tx_abort, responses.splice_locked,
11025
+ );
11016
11026
debug_assert!(htlc_forwards.is_none());
11017
11027
debug_assert!(decode_update_add_htlcs.is_none());
11018
11028
if let Some(upd) = channel_update {
0 commit comments