aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/closure.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/closure.go')
-rw-r--r--ethchain/closure.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/ethchain/closure.go b/ethchain/closure.go
index 966e8254a..cc769de30 100644
--- a/ethchain/closure.go
+++ b/ethchain/closure.go
@@ -74,12 +74,10 @@ func (c *Closure) Address() []byte {
return c.object.Address()
}
-type DebugHook func(step int, op OpCode, mem *Memory, stack *Stack, stateObject *StateObject) bool
-
-func (c *Closure) Call(vm *Vm, args []byte, hook DebugHook) ([]byte, *big.Int, error) {
+func (c *Closure) Call(vm *Vm, args []byte) ([]byte, *big.Int, error) {
c.Args = args
- ret, err := vm.RunClosure(c, hook)
+ ret, err := vm.RunClosure(c)
return ret, c.UsedGas, err
}