mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
snap sync fixed
This commit is contained in:
parent
66df1f26b8
commit
4217f3e043
1 changed files with 1 additions and 1 deletions
|
|
@ -3108,7 +3108,7 @@ func (s *Syncer) reportSyncProgress(force bool) {
|
||||||
accountFills,
|
accountFills,
|
||||||
).Uint64())
|
).Uint64())
|
||||||
// Don't report anything until we have a meaningful progress
|
// Don't report anything until we have a meaningful progress
|
||||||
if estBytes < 1.0 {
|
if estBytes < 1.0 || float64(synced) > estBytes {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
elapsed := time.Since(s.startTime)
|
elapsed := time.Since(s.startTime)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue