We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723253e commit ec6e21bCopy full SHA for ec6e21b
lightning/src/ln/peer_handler.rs
@@ -458,7 +458,7 @@ impl Peer {
458
459
/// Similar to the above, but for node announcements indexed by node_id.
460
fn should_forward_node_announcement(&self, node_id: NodeId) -> bool {
461
- if self.their_features.is_none() { return false; }
+ if !self.handshake_complete() { return false; }
462
if self.their_features.as_ref().unwrap().supports_gossip_queries() &&
463
!self.sent_gossip_timestamp_filter {
464
return false;
0 commit comments