aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
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))