Skip to content

Commit cd8da4d

Browse files
committed
triedb/path: update logs
1 parent 78162b8 commit cd8da4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

triedb/pathdb/journal.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ func (db *Database) Journal(root common.Hash) error {
314314
}
315315
disk := db.tree.bottom()
316316
if l, ok := l.(*diffLayer); ok {
317-
log.Info("Persisting dirty state to disk", "head", l.block, "root", root, "layers", l.id-disk.id+disk.buffer.layers)
317+
log.Info("Persisting dirty state", "head", l.block, "root", root, "layers", l.id-disk.id+disk.buffer.layers)
318318
} else { // disk layer only on noop runs (likely) or deep reorgs (unlikely)
319-
log.Info("Persisting dirty state to disk", "root", root, "layers", disk.buffer.layers)
319+
log.Info("Persisting dirty state", "root", root, "layers", disk.buffer.layers)
320320
}
321321
// Block until the background flushing is finished and terminate
322322
// the potential active state generator.

0 commit comments

Comments
 (0)