Merge pull request #2872 from tnull/2024-02-add-features-to-channel-pending
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 976a7b567ae9ec7777c315fa67a245261ff0a5db..5f427e1d736313954a53a645cac82c9c9b5f40d2 100644 (file)
@@ -2152,6 +2152,7 @@ macro_rules! emit_channel_pending_event {
                                counterparty_node_id: $channel.context.get_counterparty_node_id(),
                                user_channel_id: $channel.context.get_user_id(),
                                funding_txo: $channel.context.get_funding_txo().unwrap().into_bitcoin_outpoint(),
+                               channel_type: Some($channel.context.get_channel_type().clone()),
                        }, None));
                        $channel.context.set_channel_pending_event_emitted();
                }