diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-08 21:36:59 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-08 21:36:59 +0800 |
commit | c51db4c940a5ea679aee580a673a4ccdd2421b9a (patch) | |
tree | 5429928dab1acbbc153e756464614bbfc6dbd9c0 /ethvm/stack.go | |
parent | 3fc24013ef200f20eaa9deed6647270924126976 (diff) | |
download | go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar.gz go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar.bz2 go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar.lz go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar.xz go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.tar.zst go-tangerine-c51db4c940a5ea679aee580a673a4ccdd2421b9a.zip |
Fixed stack issue
Diffstat (limited to 'ethvm/stack.go')
-rw-r--r-- | ethvm/stack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethvm/stack.go b/ethvm/stack.go index c06d63652..f4b0be393 100644 --- a/ethvm/stack.go +++ b/ethvm/stack.go @@ -59,7 +59,7 @@ func (st *Stack) Peek() *big.Int { } func (st *Stack) Peekn() (*big.Int, *big.Int) { - ints := st.data[:2] + ints := st.data[len(st.data)-2:] return ints[0], ints[1] } |