diff --git a/triedb/pathdb/history_indexer.go b/triedb/pathdb/history_indexer.go index c987b380ed..c865fa16ab 100644 --- a/triedb/pathdb/history_indexer.go +++ b/triedb/pathdb/history_indexer.go @@ -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