From: Elias Rohrer Date: Fri, 12 Jul 2024 08:49:16 +0000 (+0200) Subject: Revert "Signal `GossipQuery` support when using `IgnoringMessagHandler`" X-Git-Tag: v0.0.124-beta~53^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5a39cc2b1913a15507d83adf97757da1c8285e75;p=rust-lightning Revert "Signal `GossipQuery` support when using `IgnoringMessagHandler`" This reverts commit 843079df72435b8a117e8b12b42492391409259f. --- 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 } }