diff --git a/core/vm/memory.go b/core/vm/memory.go index aa4b93c009..de58c74871 100644 --- a/core/vm/memory.go +++ b/core/vm/memory.go @@ -76,6 +76,7 @@ func (m *Memory) Set32(offset uint64, val *uint256.Int) { val.PutUint256(m.store[offset:]) } +// Resize resizes the memory to size func (m *Memory) Resize(size uint64) { if uint64(m.Len()) < size { if uint64(cap(m.store)) > size {