mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
change comment
This commit is contained in:
parent
2034bf5da4
commit
aee0c4daff
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ func (s *Syncer) run() {
|
||||||
retries++
|
retries++
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// If the remote number is equal or bigger to the target, we don't need to resync.
|
// If the target number is smaller than the remote number, we don't need to sync.
|
||||||
if target != nil && header.Number.Cmp(target.Number) <= 0 {
|
if target != nil && header.Number.Cmp(target.Number) <= 0 {
|
||||||
log.Info("Syncer already synced", "hash", req.hash, "target", target)
|
log.Info("Syncer already synced", "hash", req.hash, "target", target)
|
||||||
req.errc <- nil
|
req.errc <- nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue