@@ -3405,7 +3405,8 @@ macro_rules! handle_monitor_update_completion {
3405
3405
&mut $peer_state.pending_msg_events, $chan, updates.raa,
3406
3406
updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
3407
3407
updates.funding_broadcastable, updates.channel_ready,
3408
- updates.announcement_sigs, updates.tx_signatures, None);
3408
+ updates.announcement_sigs, updates.tx_signatures, None, None,
3409
+ );
3409
3410
if let Some(upd) = channel_update {
3410
3411
$peer_state.pending_msg_events.push(upd);
3411
3412
}
@@ -8057,9 +8058,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8057
8058
funding_broadcastable: Option<Transaction>,
8058
8059
channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
8059
8060
tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8061
+ splice_locked: Option<msgs::SpliceLocked>,
8060
8062
) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
8061
8063
let logger = WithChannelContext::from(&self.logger, &channel.context, None);
8062
- 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",
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, {} splice_locked ",
8063
8065
&channel.context.channel_id(),
8064
8066
if raa.is_some() { "an" } else { "no" },
8065
8067
if commitment_update.is_some() { "a" } else { "no" },
@@ -8069,6 +8071,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8069
8071
if announcement_sigs.is_some() { "sending" } else { "without" },
8070
8072
if tx_signatures.is_some() { "sending" } else { "without" },
8071
8073
if tx_abort.is_some() { "sending" } else { "without" },
8074
+ if splice_locked.is_some() { "sending" } else { "without" },
8072
8075
);
8073
8076
8074
8077
let counterparty_node_id = channel.context.get_counterparty_node_id();
@@ -8108,6 +8111,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8108
8111
msg,
8109
8112
});
8110
8113
}
8114
+ if let Some(msg) = splice_locked {
8115
+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8116
+ node_id: counterparty_node_id,
8117
+ msg,
8118
+ });
8119
+ }
8111
8120
8112
8121
macro_rules! handle_cs { () => {
8113
8122
if let Some(update) = commitment_update {
@@ -9998,7 +10007,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
9998
10007
let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
9999
10008
&mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
10000
10009
Vec::new(), Vec::new(), None, responses.channel_ready, responses.announcement_sigs,
10001
- responses.tx_signatures, responses.tx_abort);
10010
+ responses.tx_signatures, responses.tx_abort, responses.splice_locked,
10011
+ );
10002
10012
debug_assert!(htlc_forwards.is_none());
10003
10013
debug_assert!(decode_update_add_htlcs.is_none());
10004
10014
if let Some(upd) = channel_update {
0 commit comments