mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-12 12:56:58 +00:00
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…
x
Reference in New Issue
Block a user