From 80592f244da3f7323b7fa3e75a17c8e37c97fe8d Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 12 Mar 2015 23:26:58 +0100 Subject: more obvious failure for ethtest --- core/execution.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'core/execution.go') 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) } -- cgit v1.2.3