]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Revert "Signal `GossipQuery` support when using `IgnoringMessagHandler`"
authorElias Rohrer <dev@tnull.de>
Fri, 12 Jul 2024 08:49:16 +0000 (10:49 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 12 Jul 2024 08:49:16 +0000 (10:49 +0200)
This reverts commit 843079df72435b8a117e8b12b42492391409259f.

lightning/src/ln/peer_handler.rs

index 7a46bee9d738f4b9823e146a3a5a1726f10b8b5f..803a89b4200cff93959ebc46a6019e06128226de 100644 (file)
@@ -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 }
 }