From 56281d4fa00d733b36a8bc17a53c37452a157719 Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Thu, 12 Mar 2026 11:01:40 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- triedb/pathdb/history_indexer_state.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/triedb/pathdb/history_indexer_state.go b/triedb/pathdb/history_indexer_state.go index 645b4391ad..2746083297 100644 --- a/triedb/pathdb/history_indexer_state.go +++ b/triedb/pathdb/history_indexer_state.go @@ -69,8 +69,9 @@ type initerState struct { func newIniterState(disk ethdb.Database, noWait bool) *initerState { s := &initerState{ - disk: disk, - term: make(chan struct{}), + state: stateSyncing, + disk: disk, + term: make(chan struct{}), } go s.update(noWait) return s