Skip to content

Commit

Permalink
fix: optimize logs
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Nov 20, 2024
1 parent c053afb commit 9a1c032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triedb/pathdb/journal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 9a1c032

Please sign in to comment.