move self check to discovery.find
This commit is contained in:
parent
683f4b3016
commit
ab8a97118d
|
@ -158,7 +158,6 @@ proc discoveryTaskLoop(b: DiscoveryEngine) {.async.} =
|
|||
let
|
||||
dialed = await allFinished(
|
||||
peers
|
||||
.filterIt( not b.network.isSelf(it.data.peerId) )
|
||||
.mapIt( b.network.dialPeer(it.data) ))
|
||||
|
||||
for i, f in dialed:
|
||||
|
|
Loading…
Reference in New Issue