Add missing continue to prevent dialing a node we're connected to

This commit is contained in:
Luke Parker 2024-04-21 08:36:30 -04:00
parent fddbebc7c0
commit 5a3ea80943
No known key found for this signature in database

View file

@ -593,6 +593,7 @@ impl LibP2p {
for net in nets {
existing_nets.insert(net);
}
continue;
}
if let Err(e) = swarm.dial(addr) {