From 5a39cc2b1913a15507d83adf97757da1c8285e75 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 12 Jul 2024 10:49:16 +0200 Subject: [PATCH] Revert "Signal `GossipQuery` support when using `IgnoringMessagHandler`" This reverts commit 843079df72435b8a117e8b12b42492391409259f. --- lightning/src/ln/peer_handler.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 7a46bee9d..803a89b42 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -126,9 +126,7 @@ impl RoutingMessageHandler for IgnoringMessageHandler { fn handle_query_short_channel_ids(&self, _their_node_id: &PublicKey, _msg: msgs::QueryShortChannelIds) -> Result<(), LightningError> { Ok(()) } fn provided_node_features(&self) -> NodeFeatures { NodeFeatures::empty() } fn provided_init_features(&self, _their_node_id: &PublicKey) -> InitFeatures { - let mut features = InitFeatures::empty(); - features.set_gossip_queries_optional(); - features + InitFeatures::empty() } fn processing_queue_high(&self) -> bool { false } } -- 2.39.5