From e5e48ed22e6fc87b3492792fb2b169e9c0b2e62f Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Tue, 9 Sep 2025 16:02:54 +0800 Subject: [PATCH] triedb/pathdb: fix compile --- triedb/pathdb/history_indexer.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/triedb/pathdb/history_indexer.go b/triedb/pathdb/history_indexer.go index 934f100102..d618585929 100644 --- a/triedb/pathdb/history_indexer.go +++ b/triedb/pathdb/history_indexer.go @@ -618,14 +618,14 @@ func (i *indexIniter) recover(lastID uint64) { lastID = newLastID signal.result <- nil i.last.Store(newLastID) - log.Debug("Updated history index flag", "last", lastID) + i.log.Debug("Updated history index flag", "last", lastID) // Terminate the recovery routine once the histories are fully aligned // with the index data, indicating that index initialization is complete. - metadata := loadIndexMetadata(i.disk) + metadata := loadIndexMetadata(i.disk, i.typ) if metadata != nil && metadata.Last == lastID { close(i.done) - log.Info("History indexer is recovered", "last", lastID) + i.log.Info("History indexer is recovered", "last", lastID) return }