mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add missing continue to prevent dialing a node we're connected to
This commit is contained in:
@@ -593,6 +593,7 @@ impl LibP2p {
|
|||||||
for net in nets {
|
for net in nets {
|
||||||
existing_nets.insert(net);
|
existing_nets.insert(net);
|
||||||
}
|
}
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(e) = swarm.dial(addr) {
|
if let Err(e) = swarm.dial(addr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user