mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/devp2p: tweak crawler log message
This commit is contained in:
parent
86b9e47cb8
commit
49b49fc23e
1 changed files with 3 additions and 4 deletions
|
|
@ -73,10 +73,6 @@ loop:
|
|||
case n := <-c.ch:
|
||||
c.updateNode(n)
|
||||
case it := <-doneCh:
|
||||
liveIters--
|
||||
if liveIters == 0 {
|
||||
break loop
|
||||
}
|
||||
if it == c.inputIter {
|
||||
// Enable timeout when we're done revalidating the input nodes.
|
||||
log.Info("Revalidation of input set is done", "len", len(c.input))
|
||||
|
|
@ -84,6 +80,9 @@ loop:
|
|||
timeoutCh = timeoutTimer.C
|
||||
}
|
||||
}
|
||||
if liveIters--; liveIters == 0 {
|
||||
break loop
|
||||
}
|
||||
case <-timeoutCh:
|
||||
break loop
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue