aboutsummaryrefslogtreecommitdiffstats
path: root/ethclient/ethclient.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-17 16:34:53 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-07-17 16:34:53 +0800
commita56f3dc0d94417e5d88bbb32b124b0889dfcbd6a (patch)
treed9b19042938bbffcfd2afde26f81e33f47a629e3 /ethclient/ethclient.go
parent47359301a24b3682b5bf9bbfae0cf8ae21a9ee62 (diff)
downloaddexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar.gz
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar.bz2
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar.lz
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar.xz
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.tar.zst
dexon-a56f3dc0d94417e5d88bbb32b124b0889dfcbd6a.zip
core, ethclient: implement Metropolis EIP 98 (#14750)
Implements ethereum/EIPs#98
Diffstat (limited to 'ethclient/ethclient.go')
-rw-r--r--ethclient/ethclient.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go
index 45bb87322..02df03fff 100644
--- a/ethclient/ethclient.go
+++ b/ethclient/ethclient.go
@@ -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