mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
eth/protocols/snap: fix log
This commit is contained in:
parent
3d80bed231
commit
17e016fc57
1 changed files with 1 additions and 1 deletions
|
|
@ -692,8 +692,8 @@ func (s *Syncer) Sync(root common.Hash, cancel chan struct{}) error {
|
||||||
// pivot states (e.g., if chain sync takes longer). The initial healing
|
// pivot states (e.g., if chain sync takes longer). The initial healing
|
||||||
// phase is more important for us.
|
// phase is more important for us.
|
||||||
stateHealTimeResettingTimer.Update(time.Since(s.healStartTime))
|
stateHealTimeResettingTimer.Update(time.Since(s.healStartTime))
|
||||||
s.healStartTime = time.Time{} // zero the start time
|
|
||||||
log.Info("State healing phase is completed", "elapsed", common.PrettyDuration(time.Since(s.healStartTime)))
|
log.Info("State healing phase is completed", "elapsed", common.PrettyDuration(time.Since(s.healStartTime)))
|
||||||
|
s.healStartTime = time.Time{} // zero the start time
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// Assign all the data retrieval tasks to any free peers
|
// Assign all the data retrieval tasks to any free peers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue