Skip to content

Commit

Permalink
Merge pull request #2959 from tnull/2024-03-support-gossip-queries-in…
Browse files Browse the repository at this point in the history
…-ignoring-handler

Signal `GossipQuery` support when using `IgnoringMessagHandler`
  • Loading branch information
G8XSU committed Mar 26, 2024
2 parents b8b1ef3 + 843079d commit 68d5e88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lightning/src/ln/peer_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down

0 comments on commit 68d5e88

Please sign in to comment.