diff --git a/codex/blockexchange/engine/discovery.nim b/codex/blockexchange/engine/discovery.nim index 8a7fd1a9..ab1d4cc3 100644 --- a/codex/blockexchange/engine/discovery.nim +++ b/codex/blockexchange/engine/discovery.nim @@ -140,7 +140,7 @@ proc discoveryTaskLoop(b: DiscoveryEngine) {.async.} = let haves = b.peers.peersHave(cid) - trace "Current number of peers for block", cid, count = haves.len + trace "Current number of peers for block", cid, peers = haves.len if haves.len < b.minPeersPerBlock: trace "Discovering block", cid try: diff --git a/codex/blockexchange/engine/engine.nim b/codex/blockexchange/engine/engine.nim index f2fc8101..f4f712eb 100644 --- a/codex/blockexchange/engine/engine.nim +++ b/codex/blockexchange/engine/engine.nim @@ -248,7 +248,7 @@ proc blockPresenceHandler*( ) if wantCids.len > 0: - trace "Peer has blocks in our wantList", peer, count = wantCids.len + trace "Peer has blocks in our wantList", peer, wantCount = wantCids.len discard await allFinished( wantCids.mapIt(b.sendWantBlock(it, peerCtx)))