aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-20 17:19:07 +0800
committerobscuren <geffobscura@gmail.com>2014-05-20 17:19:07 +0800
commitfd19142c0db3d2b6651989f5389944f3e211d84f (patch)
tree96916597bc7366fad5043acb6df7a2711675f504 /ethchain/vm.go
parenta2fb265563a3a6eb80efc5720bb0c6f3fec6f397 (diff)
downloaddexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.gz
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.bz2
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.lz
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.xz
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.zst
dexon-fd19142c0db3d2b6651989f5389944f3e211d84f.zip
No longer store script directly in the state tree
Diffstat (limited to 'ethchain/vm.go')
-rw-r--r--ethchain/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go
index 6579830ec..e732d22a4 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -471,7 +471,7 @@ func (vm *Vm) RunClosure(closure *Closure, hook DebugHook) (ret []byte, err erro
args := mem.Get(inOffset.Int64(), inSize.Int64())
// Fetch the contract which will serve as the closure body
- contract := vm.state.GetContract(addr.Bytes())
+ contract := vm.state.GetStateObject(addr.Bytes())
if contract != nil {
// Prepay for the gas