diff --git a/core/state/journal.go b/core/state/journal.go index a79bd7331a..17fc4e9a79 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -68,6 +68,7 @@ func newJournal() *journal { // It is semantically similar to calling 'newJournal', but the underlying slices // can be reused. func (j *journal) reset() { + clear(j.entries) j.entries = j.entries[:0] j.validRevisions = j.validRevisions[:0] clear(j.dirties)