From 9a1c0326b026606cfe51302a2297e3242a7823c7 Mon Sep 17 00:00:00 2001 From: VM Date: Wed, 20 Nov 2024 10:12:44 +0800 Subject: [PATCH] fix: optimize logs --- triedb/pathdb/journal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triedb/pathdb/journal.go b/triedb/pathdb/journal.go index 13e73bbaf..21a1a5465 100644 --- a/triedb/pathdb/journal.go +++ b/triedb/pathdb/journal.go @@ -371,7 +371,7 @@ func (db *Database) loadDiskLayer(r *rlp.Stream, journalTypeForReader JournalTyp if db.config.TrieNodeBufferType == NodeBufferList && !db.useBase { recoveredRoot, recoveredStateID, _ := nb.getLatestStatus() if recoveredRoot != root && recoveredStateID != id { - log.Error("Recovering state root and state id are different from recording ones") + log.Error("Recovered state root and state id are different from recording ones") return nil, errors.New("Unmatched root and state id with recovered") }