aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/execution.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-15 06:40:41 +0800
committerobscuren <geffobscura@gmail.com>2014-10-15 06:40:41 +0800
commit3d177be73e127b08a52988fde308eed29eac4699 (patch)
tree4907a28db7a72af10cd1877d0932e6d71690c075 /ethvm/execution.go
parent7ca7938d8e4a63b4bd244ee46856ec657d63a374 (diff)
downloadgo-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.gz
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.zst
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.zip
Couple of minor issues fixed
* CALLVALUE pushed incorrect value to the stack * Set execution model to closure
Diffstat (limited to 'ethvm/execution.go')
-rw-r--r--ethvm/execution.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethvm/execution.go b/ethvm/execution.go
index 6273fc49e..0550a8bf3 100644
--- a/ethvm/execution.go
+++ b/ethvm/execution.go
@@ -66,6 +66,7 @@ func (self *Execution) Exec(codeAddr []byte, caller ClosureRef) (ret []byte, err
// Create a new callable closure
c := NewClosure(msg, caller, stateObject, code, self.gas, self.price)
+ c.exe = self
// Executer the closure and get the return value (if any)
ret, _, err = c.Call(self.vm, self.input)