We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61342e9 commit 0ef867bCopy full SHA for 0ef867b
1 file changed
triedb/pathdb/journal.go
@@ -92,7 +92,7 @@ func (db *Database) loadJournal(diskRoot common.Hash) (layer, error) {
92
// The journal is not matched with persistent state, discard them.
93
// It can happen that geth crashes without persisting the journal.
94
if !bytes.Equal(root.Bytes(), diskRoot.Bytes()) {
95
- return nil, fmt.Errorf("%w want %x got %x", errUnmatchedJournal, root, diskRoot)
+ return nil, fmt.Errorf("%w want %x got %x", errUnmatchedJournal, diskRoot, root)
96
}
97
// Load the disk layer from the journal
98
base, err := db.loadDiskLayer(r)
0 commit comments