Skip to content

Commit

Permalink
Merge branch 'master' into compare_hash_from_feed
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee authored May 20, 2024
2 parents 7f8d471 + 15b6ccb commit 26f09cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/staterecovery/staterecovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func RecreateMissingStates(chainDb ethdb.Database, bc *core.BlockChain, cacheCon
return fmt.Errorf("start block parent is missing, parent block number: %d", current-1)
}
hashConfig := *hashdb.Defaults
hashConfig.CleanCacheSize = cacheConfig.TrieCleanLimit
hashConfig.CleanCacheSize = cacheConfig.TrieCleanLimit * 1024 * 1024
trieConfig := &trie.Config{
Preimages: false,
HashDB: &hashConfig,
Expand Down

0 comments on commit 26f09cf

Please sign in to comment.