diff options
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) } |