aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-21 17:56:04 +0800
committerobscuren <geffobscura@gmail.com>2014-07-21 17:56:04 +0800
commit93261b98c2bc664af30676129def291ff9e8a9ce (patch)
tree5974e89344e6222908dbb6a398b9453b276254f8 /ethchain/vm.go
parent9f00aeae29d53fec358fcecdc9bcc162b8e3984c (diff)
downloadgo-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar.gz
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar.bz2
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar.lz
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar.xz
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.tar.zst
go-tangerine-93261b98c2bc664af30676129def291ff9e8a9ce.zip
Changed iterator
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 4fdf8b31a..9d47f950d 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -158,7 +158,7 @@ func (vm *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
switch op {
case STOP, RETURN, SUICIDE:
closure.object.Sync()
- closure.object.state.EachStorage(func(key string, value *ethutil.Value) {
+ closure.object.EachStorage(func(key string, value *ethutil.Value) {
value.Decode()
fmt.Printf("%x %x\n", new(big.Int).SetBytes([]byte(key)).Bytes(), value.Bytes())
})