snap sync fixed

This commit is contained in:
Danial 2025-07-17 01:33:42 +08:00
parent 66df1f26b8
commit 4217f3e043

View file

@ -3108,7 +3108,7 @@ func (s *Syncer) reportSyncProgress(force bool) {
accountFills,
).Uint64())
// Don't report anything until we have a meaningful progress
if estBytes < 1.0 {
if estBytes < 1.0 || float64(synced) > estBytes {
return
}
elapsed := time.Since(s.startTime)