mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-09 04:32:05 +00:00
moar style changes
This commit is contained in:
parent
2b362dda27
commit
8c84d8b743
@ -157,8 +157,7 @@ proc discoveryTaskLoop(b: DiscoveryEngine) {.async.} =
|
|||||||
trace "Discovered peers for block", peers = peers.len, cid
|
trace "Discovered peers for block", peers = peers.len, cid
|
||||||
let
|
let
|
||||||
dialed = await allFinished(
|
dialed = await allFinished(
|
||||||
peers
|
peers.mapIt( b.network.dialPeer(it.data) ))
|
||||||
.mapIt( b.network.dialPeer(it.data) ))
|
|
||||||
|
|
||||||
for i, f in dialed:
|
for i, f in dialed:
|
||||||
if f.failed:
|
if f.failed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user