Fixed stack issue

This commit is contained in:
obscuren
2014-08-08 14:36:59 +01:00
parent 3fc24013ef
commit c51db4c940
4 changed files with 18 additions and 18 deletions

View File

@ -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]
}