aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethvm/vm.go')
-rw-r--r--ethvm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethvm/vm.go b/ethvm/vm.go
index 8206d0278..a8884f9fe 100644
--- a/ethvm/vm.go
+++ b/ethvm/vm.go
@@ -490,7 +490,7 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
case SHA3:
require(2)
size, offset := stack.Popn()
- data := ethcrypto.Sha3Bin(mem.Get(offset.Int64(), size.Int64()))
+ data := ethcrypto.Sha3(mem.Get(offset.Int64(), size.Int64()))
stack.Push(ethutil.BigD(data))