This commit is contained in:
John Smith 2023-03-05 19:31:11 +00:00
parent 5cd0c89d14
commit 9ae16680c6

View File

@ -969,6 +969,11 @@ impl RoutingTable {
continue; continue;
} }
// Don't register our own node
if self.matches_own_node_id(&p.node_ids) {
continue;
}
// Register the node if it's new // Register the node if it's new
if let Some(nr) = if let Some(nr) =
self.register_node_with_peer_info(RoutingDomain::PublicInternet, p, false) self.register_node_with_peer_info(RoutingDomain::PublicInternet, p, false)