core, ethclient: implement Metropolis EIP 98 (#14750)

Implements ethereum/EIPs#98
This commit is contained in:
Péter Szilágyi
2017-07-17 11:34:53 +03:00
committed by Felix Lange
parent 47359301a2
commit a56f3dc0d9
4 changed files with 77 additions and 21 deletions

View File

@ -203,8 +203,6 @@ func (ec *Client) TransactionReceipt(ctx context.Context, txHash common.Hash) (*
if err == nil {
if r == nil {
return nil, ethereum.NotFound
} else if len(r.PostState) == 0 {
return nil, fmt.Errorf("server returned receipt without post state")
}
}
return r, err