triedb/pathdb: fix copy-paste error in version mismatch log

This commit is contained in:
bigbear 2026-02-11 10:08:40 +01:00 committed by GitHub
parent 15a9e92bbd
commit 637694c811
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -741,7 +741,7 @@ func checkVersion(disk ethdb.KeyValueStore, typ historyType) {
if err == nil {
version = fmt.Sprintf("%d", m.Version)
}
log.Info("Cleaned up obsolete history index", "type", typ, "version", version, "want", version)
log.Info("Cleaned up obsolete history index", "type", typ, "version", version, "want", ver)
}
// newHistoryIndexer constructs the history indexer and launches the background