@@ -3408,7 +3408,8 @@ macro_rules! handle_monitor_update_completion {
3408
3408
&mut $peer_state.pending_msg_events, $chan, updates.raa,
3409
3409
updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
3410
3410
updates.funding_broadcastable, updates.channel_ready,
3411
- updates.announcement_sigs, updates.tx_signatures, None);
3411
+ updates.announcement_sigs, updates.tx_signatures, None, None,
3412
+ );
3412
3413
if let Some(upd) = channel_update {
3413
3414
$peer_state.pending_msg_events.push(upd);
3414
3415
}
@@ -8088,9 +8089,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8088
8089
funding_broadcastable: Option<Transaction>,
8089
8090
channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
8090
8091
tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8092
+ splice_locked: Option<msgs::SpliceLocked>,
8091
8093
) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
8092
8094
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 ",
8094
8096
&channel.context.channel_id(),
8095
8097
if raa.is_some() { "an" } else { "no" },
8096
8098
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/
8100
8102
if announcement_sigs.is_some() { "sending" } else { "without" },
8101
8103
if tx_signatures.is_some() { "sending" } else { "without" },
8102
8104
if tx_abort.is_some() { "sending" } else { "without" },
8105
+ if splice_locked.is_some() { "sending" } else { "without" },
8103
8106
);
8104
8107
8105
8108
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/
8139
8142
msg,
8140
8143
});
8141
8144
}
8145
+ if let Some(msg) = splice_locked {
8146
+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8147
+ node_id: counterparty_node_id,
8148
+ msg,
8149
+ });
8150
+ }
8142
8151
8143
8152
macro_rules! handle_cs { () => {
8144
8153
if let Some(update) = commitment_update {
@@ -10083,7 +10092,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
10083
10092
let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
10084
10093
&mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
10085
10094
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
+ );
10087
10097
debug_assert!(htlc_forwards.is_none());
10088
10098
debug_assert!(decode_update_add_htlcs.is_none());
10089
10099
if let Some(upd) = channel_update {
0 commit comments