aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-27 19:10:18 +0800
committerobscuren <geffobscura@gmail.com>2014-05-27 19:10:18 +0800
commitaba3066658a32723543f9e4eda74a14ef140fc0e (patch)
tree42183aef2291bd767a0402118e473486984b4af3 /ethchain/vm.go
parent6e24d603a157ba6f66d49132d16221d9adbdff4d (diff)
downloaddexon-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.gz
dexon-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.zst
dexon-aba3066658a32723543f9e4eda74a14ef140fc0e.zip
Changed debug hook and added state 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 e025920f3..0d9e8599e 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -543,7 +543,7 @@ func (vm *Vm) RunClosure(closure *Closure, hook DebugHook) (ret []byte, err erro
pc.Add(pc, ethutil.Big1)
if hook != nil {
- hook(step-1, op, mem, stack)
+ hook(step-1, op, mem, stack, closure.Object())
}
}
}