Skip to content

Commit

Permalink
feat: add recover node buffer list for pathdb
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Jul 31, 2024
1 parent d1c357a commit 0219383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trie/triedb/pathdb/nodebufferlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0219383

Please sign in to comment.