mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
triedb/path: update logs
This commit is contained in:
parent
7afd7d0976
commit
e9689c394c
1 changed files with 2 additions and 2 deletions
|
|
@ -314,9 +314,9 @@ func (db *Database) Journal(root common.Hash) error {
|
|||
}
|
||||
disk := db.tree.bottom()
|
||||
if l, ok := l.(*diffLayer); ok {
|
||||
log.Info("Persisting dirty state to disk", "head", l.block, "root", root, "layers", l.id-disk.id+disk.buffer.layers)
|
||||
log.Info("Persisting dirty state", "head", l.block, "root", root, "layers", l.id-disk.id+disk.buffer.layers)
|
||||
} else { // disk layer only on noop runs (likely) or deep reorgs (unlikely)
|
||||
log.Info("Persisting dirty state to disk", "root", root, "layers", disk.buffer.layers)
|
||||
log.Info("Persisting dirty state", "root", root, "layers", disk.buffer.layers)
|
||||
}
|
||||
// Block until the background flushing is finished and terminate
|
||||
// the potential active state generator.
|
||||
|
|
|
|||
Loading…
Reference in a new issue