mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #2959 from tnull/2024-03-support-gossip-queries-in-ignoring-handler
Signal `GossipQuery` support when using `IgnoringMessagHandler`
This commit is contained in:
commit
68d5e88e46
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ 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 {
|
||||
InitFeatures::empty()
|
||||
let mut features = InitFeatures::empty();
|
||||
features.set_gossip_queries_optional();
|
||||
features
|
||||
}
|
||||
fn processing_queue_high(&self) -> bool { false }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue