core/vm: fixed a bug where Data
ignored the stack ptr
This commit is contained in:
parent
10af69b57c
commit
f94c5473ad
@ -15,7 +15,7 @@ type stack struct {
|
||||
}
|
||||
|
||||
func (st *stack) Data() []*big.Int {
|
||||
return st.data
|
||||
return st.data[:st.ptr]
|
||||
}
|
||||
|
||||
func (st *stack) push(d *big.Int) {
|
||||
|
Loading…
Reference in New Issue
Block a user