Skip to content

Commit

Permalink
fix(logs): fix log reporting wrong ok connected peers (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrevuelta authored Apr 17, 2023
1 parent d5c2770 commit 1a885b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/v2/node/peer_manager/peer_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ proc connectToNodes*(pm: PeerManager,
error "Couldn't parse node info", error = node.error

await allFutures(futConns)
let successfulConns = futConns.mapIt(it.read()).countIt(true)
let successfulConns = futConns.mapIt(it.read()).countIt(it == true)

info "Finished dialing multiple peers", successfulConns=successfulConns, attempted=nodes.len

Expand Down

0 comments on commit 1a885b9

Please sign in to comment.