good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit e275b1a2 authored by Evolution404's avatar Evolution404 Committed by GitHub
Browse files

consensus/ethash: replace a magic number with it's constant (#22618)

parent 95219ae6
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ func generateCache(dest []uint32, epoch uint64, seed []byte) {
case <-done:
return
case <-time.After(3 * time.Second):
logger.Info("Generating ethash verification cache", "percentage", atomic.LoadUint32(&progress)*100/uint32(rows)/4, "elapsed", common.PrettyDuration(time.Since(start)))
logger.Info("Generating ethash verification cache", "percentage", atomic.LoadUint32(&progress)*100/uint32(rows)/(cacheRounds+1), "elapsed", common.PrettyDuration(time.Since(start)))
}
}
}()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment