aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/vm.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/vm.go
parent7ca7938d8e4a63b4bd244ee46856ec657d63a374 (diff)
downloadgo-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.gz
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.bz2
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.lz
go-tangerine-3d177be73e127b08a52988fde308eed29eac4699.tar.xz
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/vm.go')
-rw-r--r--ethvm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethvm/vm.go b/ethvm/vm.go
index 8d58ffcb7..dad031e01 100644
--- a/ethvm/vm.go
+++ b/ethvm/vm.go
@@ -392,7 +392,7 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
stack.Push(ethutil.BigD(caller))
case CALLVALUE:
- value := self.env.Value()
+ value := closure.exe.value
stack.Push(value)