Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed May 8, 2024
1 parent 55b5357 commit d098c59
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d098c59

Please sign in to comment.