mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
triedb/pathdb: log the expected version in obsolete-index cleanup (#35194)
This commit is contained in:
parent
e5ff3596db
commit
6b72f26ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -766,7 +766,7 @@ func checkVersion(disk ethdb.KeyValueStore, typ historyType) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
version = fmt.Sprintf("%d", m.Version)
|
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
|
// newHistoryIndexer constructs the history indexer and launches the background
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue