renames log properties named 'count' (#560)
This commit is contained in:
parent
fede106118
commit
040434aa19
|
@ -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:
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue