aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-10 04:24:05 +0800
committerobscuren <geffobscura@gmail.com>2014-06-10 04:24:05 +0800
commit006ac772e6c81271a84ff56e00527b2adbc0129c (patch)
tree4057b75df6d269764d4e666561ea8b655836a372 /ethchain/vm.go
parentfb6ff61730ed92ada68c9c5a5b3a6f9976a78161 (diff)
parenta51dfe89c05cc12b4a8483f683ff9f49b3a8f1bd (diff)
downloadgo-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar.gz
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar.bz2
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar.lz
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar.xz
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.tar.zst
go-tangerine-006ac772e6c81271a84ff56e00527b2adbc0129c.zip
Merge branch 'release/poc5-rc12'
Diffstat (limited to 'ethchain/vm.go')
-rw-r--r--ethchain/vm.go2
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