From 0219383f31c8fccee4e1905fc34dd42fe997c0cd Mon Sep 17 00:00:00 2001 From: VM Date: Wed, 31 Jul 2024 11:26:18 +0800 Subject: [PATCH] feat: add recover node buffer list for pathdb --- trie/triedb/pathdb/nodebufferlist.go | 1 + 1 file changed, 1 insertion(+) diff --git a/trie/triedb/pathdb/nodebufferlist.go b/trie/triedb/pathdb/nodebufferlist.go index 630f5c141a..0b04c43f65 100644 --- a/trie/triedb/pathdb/nodebufferlist.go +++ b/trie/triedb/pathdb/nodebufferlist.go @@ -212,6 +212,7 @@ func recoverNodeBufferList(db ethdb.Database, freezer *rawdb.ResettableFreezer, // errChan := make(chan error, 1) for current, i := nbl.head, 0; current != nil; current, i = current.next, i+1 { i := i + current := current eg.Go(func() error { for j := stateIntervals[i][0]; j <= stateIntervals[i][1]; j++ { h, err := nbl.readStateHistory(freezer, j)