From 5fe9e85eb9c42a123db886b9a54a66f3428568e9 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 22 Jul 2025 23:18:44 +0800 Subject: [PATCH] fix: pass nil to signal.result Signed-off-by: jsvisa --- triedb/pathdb/history_indexer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/triedb/pathdb/history_indexer.go b/triedb/pathdb/history_indexer.go index 7fbb6c4305..ff07f1e438 100644 --- a/triedb/pathdb/history_indexer.go +++ b/triedb/pathdb/history_indexer.go @@ -427,6 +427,7 @@ func (i *indexIniter) run(lastID uint64) { } // Adjust the indexing target and relaunch the process lastID = newLastID + signal.result <- nil done, interrupt = make(chan struct{}), new(atomic.Int32) go i.index(done, interrupt, lastID) log.Debug("Shortened state history range", "last", lastID)