Remove maybe unnecessary check

This commit is contained in:
Geoff Stuart 2023-01-16 07:08:22 -05:00
parent f8121c8f1c
commit 6b0f1116ce

View File

@ -342,7 +342,7 @@ func (a *EthModule) EthGetTransactionReceipt(ctx context.Context, txHash ethtype
}
tx, err := newEthTxFromFilecoinMessageLookup(ctx, msgLookup, -1, a.Chain, a.StateAPI)
if err != nil && tx.Hash == ethtypes.EmptyEthHash {
if err != nil {
return nil, nil
}