more obvious failure for ethtest

This commit is contained in:
obscuren
2015-03-12 23:26:58 +01:00
parent 3a88da578f
commit 80592f244d
4 changed files with 9 additions and 10 deletions

View File

@@ -380,7 +380,7 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I
// 0x20 range
case SHA3:
size, offset := stack.pop(), stack.pop()
offset, size := stack.pop(), stack.pop()
data := crypto.Sha3(mem.Get(offset.Int64(), size.Int64()))
stack.push(ethutil.BigD(data))