@@ -3380,7 +3380,8 @@ macro_rules! handle_monitor_update_completion {
3380
3380
&mut $peer_state.pending_msg_events, $chan, updates.raa,
3381
3381
updates.commitment_update, updates.order, updates.accepted_htlcs, updates.pending_update_adds,
3382
3382
updates.funding_broadcastable, updates.channel_ready,
3383
- updates.announcement_sigs, updates.tx_signatures, None);
3383
+ updates.announcement_sigs, updates.tx_signatures, None, None,
3384
+ );
3384
3385
if let Some(upd) = channel_update {
3385
3386
$peer_state.pending_msg_events.push(upd);
3386
3387
}
@@ -8756,9 +8757,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8756
8757
funding_broadcastable: Option<Transaction>,
8757
8758
channel_ready: Option<msgs::ChannelReady>, announcement_sigs: Option<msgs::AnnouncementSignatures>,
8758
8759
tx_signatures: Option<msgs::TxSignatures>, tx_abort: Option<msgs::TxAbort>,
8760
+ splice_locked: Option<msgs::SpliceLocked>,
8759
8761
) -> (Option<(u64, Option<PublicKey>, OutPoint, ChannelId, u128, Vec<(PendingHTLCInfo, u64)>)>, Option<(u64, Vec<msgs::UpdateAddHTLC>)>) {
8760
8762
let logger = WithChannelContext::from(&self.logger, &channel.context, None);
8761
- 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",
8763
+ 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 ",
8762
8764
&channel.context.channel_id(),
8763
8765
if raa.is_some() { "an" } else { "no" },
8764
8766
if commitment_update.is_some() { "a" } else { "no" },
@@ -8768,6 +8770,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8768
8770
if announcement_sigs.is_some() { "sending" } else { "without" },
8769
8771
if tx_signatures.is_some() { "sending" } else { "without" },
8770
8772
if tx_abort.is_some() { "sending" } else { "without" },
8773
+ if splice_locked.is_some() { "sending" } else { "without" },
8771
8774
);
8772
8775
8773
8776
let counterparty_node_id = channel.context.get_counterparty_node_id();
@@ -8807,6 +8810,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8807
8810
msg,
8808
8811
});
8809
8812
}
8813
+ if let Some(msg) = splice_locked {
8814
+ pending_msg_events.push(MessageSendEvent::SendSpliceLocked {
8815
+ node_id: counterparty_node_id,
8816
+ msg,
8817
+ });
8818
+ }
8810
8819
8811
8820
macro_rules! handle_cs { () => {
8812
8821
if let Some(update) = commitment_update {
@@ -10815,7 +10824,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
10815
10824
let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
10816
10825
&mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
10817
10826
Vec::new(), Vec::new(), None, responses.channel_ready, responses.announcement_sigs,
10818
- responses.tx_signatures, responses.tx_abort);
10827
+ responses.tx_signatures, responses.tx_abort, responses.splice_locked,
10828
+ );
10819
10829
debug_assert!(htlc_forwards.is_none());
10820
10830
debug_assert!(decode_update_add_htlcs.is_none());
10821
10831
if let Some(upd) = channel_update {
0 commit comments