From b187795c6c12f4ed5aaceaee35f7f9a84084f86e Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Fri, 20 Oct 2023 11:02:41 +0200 Subject: [PATCH] core/state/snapshot: do not nil the fastcache in disklayer --- core/state/snapshot/disklayer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/state/snapshot/disklayer.go b/core/state/snapshot/disklayer.go index 98337bea9f..d563b67ca4 100644 --- a/core/state/snapshot/disklayer.go +++ b/core/state/snapshot/disklayer.go @@ -51,7 +51,6 @@ type diskLayer struct { func (dl *diskLayer) Release() error { if dl.cache != nil { dl.cache.Reset() - dl.cache = nil } return nil }