mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Add missing continue to prevent dialing a node we're connected to
This commit is contained in:
parent
fddbebc7c0
commit
5a3ea80943
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue