core/vm: fixed a bug where `Data` ignored the stack ptr

pull/1228/head
obscuren 10 years ago
parent 10af69b57c
commit f94c5473ad
  1. 2
      core/vm/stack.go

@ -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…
Cancel
Save