mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/state/snapshot: do not nil the fastcache in disklayer
This commit is contained in:
parent
692f0d7b2e
commit
b187795c6c
1 changed files with 0 additions and 1 deletions
|
|
@ -51,7 +51,6 @@ type diskLayer struct {
|
|||
func (dl *diskLayer) Release() error {
|
||||
if dl.cache != nil {
|
||||
dl.cache.Reset()
|
||||
dl.cache = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue