diff --git a/core/vm/stack.go b/core/vm/stack.go index c9fb3e5984..d2e93dcdf0 100644 --- a/core/vm/stack.go +++ b/core/vm/stack.go @@ -86,6 +86,8 @@ func (s *Stack) push(d *uint256.Int) { s.size++ } +// get returns a pointer to a newly created element +// on top of the stack func (s *Stack) get() *uint256.Int { elem := &s.inner.data[s.inner.top] s.inner.top++