diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-27 19:10:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-27 19:10:18 +0800 |
commit | aba3066658a32723543f9e4eda74a14ef140fc0e (patch) | |
tree | 42183aef2291bd767a0402118e473486984b4af3 /ethchain/closure.go | |
parent | 6e24d603a157ba6f66d49132d16221d9adbdff4d (diff) | |
download | go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.gz go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.bz2 go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.lz go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.xz go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.tar.zst go-tangerine-aba3066658a32723543f9e4eda74a14ef140fc0e.zip |
Changed debug hook and added state iterator
Diffstat (limited to 'ethchain/closure.go')
-rw-r--r-- | ethchain/closure.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/closure.go b/ethchain/closure.go index 59194e4e8..e65cfd252 100644 --- a/ethchain/closure.go +++ b/ethchain/closure.go @@ -72,7 +72,7 @@ func (c *Closure) Address() []byte { return c.object.Address() } -type DebugHook func(step int, op OpCode, mem *Memory, stack *Stack) +type DebugHook func(step int, op OpCode, mem *Memory, stack *Stack, stateObject *StateObject) func (c *Closure) Call(vm *Vm, args []byte, hook DebugHook) ([]byte, error) { c.Args = args |