diff --git a/triedb/pathdb/history_indexer.go b/triedb/pathdb/history_indexer.go index 3789fae19b..955615bd82 100644 --- a/triedb/pathdb/history_indexer.go +++ b/triedb/pathdb/history_indexer.go @@ -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