diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-10 03:35:56 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-10 03:35:56 +0800 |
commit | c7d1924c344535c2d54265728bc2aa429215e595 (patch) | |
tree | 54a18ec70ccb9d8d83faf9ce198fc7559ef88b7f | |
parent | 1153fd9a0c9310ab70f9b20914071e0184e8020a (diff) | |
download | go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar.gz go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar.bz2 go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar.lz go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar.xz go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.tar.zst go-tangerine-c7d1924c344535c2d54265728bc2aa429215e595.zip |
sha
-rw-r--r-- | ethchain/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go index 9720d8be1..955be847f 100644 --- a/ethchain/vm.go +++ b/ethchain/vm.go @@ -309,7 +309,7 @@ func (vm *Vm) RunClosure(closure *Closure, hook DebugHook) (ret []byte, err erro case SHA3: require(2) size, offset := stack.Popn() - data := mem.Get(offset.Int64(), size.Int64()) + data := ethutil.Sha3Bin(mem.Get(offset.Int64(), size.Int64())) stack.Push(ethutil.BigD(data)) // 0x30 range |