@@ -3406,7 +3406,8 @@ macro_rules! handle_monitor_update_completion {
3406
3406
&mut $peer_state.pending_msg_events, $chan, updates.raa,
3407
3407
updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
3408
3408
updates.funding_broadcastable, updates.channel_ready,
3409
- updates.announcement_sigs, updates.tx_signatures, None);
3409
+ updates.announcement_sigs, updates.tx_signatures, None, None,
3410
+ );
3410
3411
if let Some(upd) = channel_update {
3411
3412
$peer_state.pending_msg_events.push(upd);
3412
3413
}
@@ -8059,9 +8060,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8059
8060
funding_broadcastable: Option<Transaction>,
8060
8061
channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
8061
8062
tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8063
+ splice_locked: Option<msgs::SpliceLocked>,
8062
8064
) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
8063
8065
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 ",
8065
8067
&channel.context.channel_id(),
8066
8068
if raa.is_some() { "an" } else { "no" },
8067
8069
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/
8071
8073
if announcement_sigs.is_some() { "sending" } else { "without" },
8072
8074
if tx_signatures.is_some() { "sending" } else { "without" },
8073
8075
if tx_abort.is_some() { "sending" } else { "without" },
8076
+ if splice_locked.is_some() { "sending" } else { "without" },
8074
8077
);
8075
8078
8076
8079
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/
8110
8113
msg,
8111
8114
});
8112
8115
}
8116
+ if let Some(msg) = splice_locked {
8117
+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8118
+ node_id: counterparty_node_id,
8119
+ msg,
8120
+ });
8121
+ }
8113
8122
8114
8123
macro_rules! handle_cs { () => {
8115
8124
if let Some(update) = commitment_update {
@@ -10054,7 +10063,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
10054
10063
let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
10055
10064
&mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
10056
10065
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
+ );
10058
10068
debug_assert!(htlc_forwards.is_none());
10059
10069
debug_assert!(decode_update_add_htlcs.is_none());
10060
10070
if let Some(upd) = channel_update {
0 commit comments