Changed debug hook and added state iterator

This commit is contained in:
obscuren
2014-05-27 13:10:18 +02:00
parent 6e24d603a1
commit aba3066658
3 changed files with 7 additions and 2 deletions

View File

@ -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())
}
}
}