renames log properties named 'count' (#560)

This commit is contained in:
Ben Bierens 2023-10-03 13:33:01 +02:00 committed by GitHub
parent fede106118
commit 040434aa19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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)))