aboutsummaryrefslogtreecommitdiffstats
path: root/core/execution.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-13 06:26:58 +0800
committerobscuren <geffobscura@gmail.com>2015-03-13 06:26:58 +0800
commit80592f244da3f7323b7fa3e75a17c8e37c97fe8d (patch)
treec003c01b819355eaaada7a93dbb28e578c7fb95c /core/execution.go
parent3a88da578fc25843308e02ebc3c1d5c431f81820 (diff)
downloadgo-tangerine-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.gz
go-tangerine-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.tar.zst
go-tangerine-80592f244da3f7323b7fa3e75a17c8e37c97fe8d.zip
more obvious failure for ethtest
Diffstat (limited to 'core/execution.go')
-rw-r--r--core/execution.go5
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)
}