more obvious failure for ethtest

This commit is contained in:
obscuren
2015-03-12 23:26:58 +01:00
parent 3a88da578f
commit 80592f244d
4 changed files with 9 additions and 10 deletions

View File

@ -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)
}