aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-08 18:06:39 +0800
committerobscuren <geffobscura@gmail.com>2014-10-08 18:06:39 +0800
commit9d86a49a7327199c01977f3372c8adf748252c32 (patch)
treea07141b5910df83e6284713149f9173c31ce247b /ethvm/vm.go
parentf3196c915a6f8ddde1d2e178ad419a114b608b91 (diff)
downloaddexon-9d86a49a7327199c01977f3372c8adf748252c32.tar
dexon-9d86a49a7327199c01977f3372c8adf748252c32.tar.gz
dexon-9d86a49a7327199c01977f3372c8adf748252c32.tar.bz2
dexon-9d86a49a7327199c01977f3372c8adf748252c32.tar.lz
dexon-9d86a49a7327199c01977f3372c8adf748252c32.tar.xz
dexon-9d86a49a7327199c01977f3372c8adf748252c32.tar.zst
dexon-9d86a49a7327199c01977f3372c8adf748252c32.zip
Renamed Sha3Bin to Sha3
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))