From 6b72f26ed351471a242b23f748f19e44c4511250 Mon Sep 17 00:00:00 2001 From: ozpool <151670776+ozpool@users.noreply.github.com> Date: Mon, 22 Jun 2026 07:29:59 +0530 Subject: [PATCH] triedb/pathdb: log the expected version in obsolete-index cleanup (#35194) --- triedb/pathdb/history_indexer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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