diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-20 23:09:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-20 23:09:44 +0800 |
commit | 4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0 (patch) | |
tree | d4622ae52bcc4c158aa26cf171a306979307bfc9 /ethchain/vm.go | |
parent | 6efdd21633c1d21f36080754a89ad82c0c244128 (diff) | |
parent | c37b3cef7dc465832761b1da6761eeaa47e368d1 (diff) | |
download | go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.gz go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.bz2 go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.lz go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.xz go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.zst go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.zip |
Merge branch 'release/poc5-rc7'
Diffstat (limited to 'ethchain/vm.go')
-rw-r--r-- | ethchain/vm.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go index 584c66611..e732d22a4 100644 --- a/ethchain/vm.go +++ b/ethchain/vm.go @@ -95,7 +95,6 @@ func (vm *Vm) RunClosure(closure *Closure, hook DebugHook) (ret []byte, err erro if ethutil.Config.Debug { ethutil.Config.Log.Debugf("# op\n") } - fmt.Println(closure.Script) for { // The base for all big integer arithmetic @@ -472,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 |