mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
triedb/pathdb: fix comments
This commit is contained in:
parent
5b80a7af38
commit
41f85203a7
1 changed files with 2 additions and 3 deletions
|
|
@ -301,9 +301,8 @@ func (db *Database) Journal(root common.Hash) error {
|
||||||
} else { // disk layer only on noop runs (likely) or deep reorgs (unlikely)
|
} 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 to disk", "root", root, "layers", disk.buffer.layers)
|
||||||
}
|
}
|
||||||
// Block until the background flushing is finished. It must
|
// Block until the background flushing is finished and terminate
|
||||||
// be done before terminating the potential background snapshot
|
// the potential active state generator.
|
||||||
// generator.
|
|
||||||
if err := disk.terminate(); err != nil {
|
if err := disk.terminate(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue