aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-13 06:26:58 +0800
committerobscuren <geffobscura@gmail.com>2015-03-13 06:26:58 +0800
commit80592f244da3f7323b7fa3e75a17c8e37c97fe8d (patch)
treec003c01b819355eaaada7a93dbb28e578c7fb95c /vm/vm.go
parent3a88da578fc25843308e02ebc3c1d5c431f81820 (diff)
downloaddexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.gz
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.bz2
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.lz
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.xz
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.zst
dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.zip
more obvious failure for ethtest
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm.go b/vm/vm.go
index ec6d04703..a818ac47d 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -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))