core/state/snapshot: reduce disk layer depth during generation

This commit is contained in:
Péter Szilágyi
2020-08-24 13:22:36 +03:00
parent 0f4e7c9b0d
commit 3ee91b9f2e
3 changed files with 18 additions and 9 deletions

View File

@ -193,7 +193,7 @@ func (dl *diskLayer) Journal(buffer *bytes.Buffer) (common.Hash, error) {
dl.genAbort <- abort
if stats = <-abort; stats != nil {
stats.Log("Journalling in-progress snapshot", dl.genMarker)
stats.Log("Journalling in-progress snapshot", dl.root, dl.genMarker)
}
}
// Ensure the layer didn't get stale