Skip to content

Commit

Permalink
dont cap on pathdb
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Dec 24, 2024
1 parent ee1d9bc commit 5ca3b36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type NoDerefTrieDB struct {
}

func (nd *NoDerefTrieDB) Dereference(root common.Hash) error { return nil }
func (nd *NoDerefTrieDB) Cap(limit common.StorageSize) error { return nil }

func NewTrieWriter(db TrieDB, config *CacheConfig) TrieWriter {
if config.Pruning {
Expand Down

0 comments on commit 5ca3b36

Please sign in to comment.