diff --git a/core/state/statedb.go b/core/state/statedb.go index c5c72a7d94..dc5d7bb1d2 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -535,6 +535,8 @@ func (s *StateDB) StopPrefetcher() { func (s *StateDB) ResetPrefetcher() { s.prefetcher = nil s.mutations = make(map[common.Address]*mutation) + s.stateObjects = make(map[common.Address]*stateObject) + s.stateObjectsDestruct = make(map[common.Address]*stateObject) } // setError remembers the first non-nil error it is called with.