aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/closure.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-16 04:16:38 +0800
committerobscuren <geffobscura@gmail.com>2014-04-16 04:16:38 +0800
commitca13e3b1058f0d680b79dc1d9319d427a09493f8 (patch)
treea121191d4e43ecc41878d268f46739e121fc111b /ethchain/closure.go
parent086acd122b59071255b0c1cfae569748b1d7427a (diff)
downloaddexon-ca13e3b1058f0d680b79dc1d9319d427a09493f8.tar.gz
dexon-ca13e3b1058f0d680b79dc1d9319d427a09493f8.tar.zst
dexon-ca13e3b1058f0d680b79dc1d9319d427a09493f8.zip
Moved assembler stage processing to it's own file
Diffstat (limited to 'ethchain/closure.go')
-rw-r--r--ethchain/closure.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/closure.go b/ethchain/closure.go
index 0fbe48f92..0762e8f49 100644
--- a/ethchain/closure.go
+++ b/ethchain/closure.go
@@ -71,7 +71,7 @@ func (c *Closure) Address() []byte {
type DebugHook func(step int, op OpCode, mem *Memory, stack *Stack)
-func (c *Closure) Call(vm *Vm, args []byte, hook DebugHook) []byte {
+func (c *Closure) Call(vm *Vm, args []byte, hook DebugHook) ([]byte, error) {
c.Args = args
return vm.RunClosure(c, hook)