diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-20 17:19:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-20 17:19:07 +0800 |
commit | fd19142c0db3d2b6651989f5389944f3e211d84f (patch) | |
tree | 96916597bc7366fad5043acb6df7a2711675f504 /ethchain/vm.go | |
parent | a2fb265563a3a6eb80efc5720bb0c6f3fec6f397 (diff) | |
download | go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.gz go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.bz2 go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.lz go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.xz go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.tar.zst go-tangerine-fd19142c0db3d2b6651989f5389944f3e211d84f.zip |
No longer store script directly in the state tree
Diffstat (limited to 'ethchain/vm.go')
-rw-r--r-- | ethchain/vm.go | 2 |
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 |