From d098c599e894c3ea7c11f01b823ad0cc2cf406da Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Wed, 8 May 2024 19:18:15 +0530 Subject: [PATCH] fix tests --- internal/ethapi/api.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 54baf0dea6..9c706c844f 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -684,10 +684,6 @@ func (s *BlockChainAPI) GetTransactionReceiptsByBlock(ctx context.Context, block return nil, err } - if receipts == nil { - return nil, fmt.Errorf("block %d receipts not found", block.NumberU64()) - } - txs := block.Transactions() var txHash common.Hash