diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-13 06:26:58 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-13 06:26:58 +0800 |
commit | 80592f244da3f7323b7fa3e75a17c8e37c97fe8d (patch) | |
tree | c003c01b819355eaaada7a93dbb28e578c7fb95c /core | |
parent | 3a88da578fc25843308e02ebc3c1d5c431f81820 (diff) | |
download | dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.gz dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.zst dexon-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.zip |
more obvious failure for ethtest
Diffstat (limited to 'core')
-rw-r--r-- | core/execution.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/execution.go b/core/execution.go index 4a69cce09..8f2b5bee1 100644 --- a/core/execution.go +++ b/core/execution.go @@ -25,10 +25,7 @@ func (self *Execution) Addr() []byte { func (self *Execution) Call(codeAddr []byte, caller vm.ContextRef) ([]byte, error) { // Retrieve the executing code - var code []byte - if self.env.State().GetStateObject(codeAddr) != nil { - code = self.env.State().GetCode(codeAddr) - } + code := self.env.State().GetCode(codeAddr) return self.exec(code, codeAddr, caller) } |