Skip to content
Snippets Groups Projects
Unverified Commit 52f427bb authored by Pierre Krieger's avatar Pierre Krieger
Browse files

Don't attempt to connect to ourselves

parent 8f89064a
No related merge requests found
......@@ -460,6 +460,10 @@ impl Service {
break;
}
if peer_id == self.kad_system.local_peer_id() {
continue;
}
if self.disabled_peers.contains_key(&peer_id) {
continue;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment