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
|
let
|
||||||
haves = b.peers.peersHave(cid)
|
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:
|
if haves.len < b.minPeersPerBlock:
|
||||||
trace "Discovering block", cid
|
trace "Discovering block", cid
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -248,7 +248,7 @@ proc blockPresenceHandler*(
|
||||||
)
|
)
|
||||||
|
|
||||||
if wantCids.len > 0:
|
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(
|
discard await allFinished(
|
||||||
wantCids.mapIt(b.sendWantBlock(it, peerCtx)))
|
wantCids.mapIt(b.sendWantBlock(it, peerCtx)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue