diff --git a/core/state/journal.go b/core/state/journal.go index 353144a1c7..c5842e74bc 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -204,6 +204,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.mutations)