triedb/pathdb: log the expected version in obsolete-index cleanup (#35194)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

This commit is contained in:
ozpool 2026-06-22 07:29:59 +05:30 committed by GitHub
parent e5ff3596db
commit 6b72f26ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -766,7 +766,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", fmt.Sprintf("%d", ver))
}
// newHistoryIndexer constructs the history indexer and launches the background