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…
Reference in New Issue