diff --git a/safe_transaction_service/history/services/index_service.py b/safe_transaction_service/history/services/index_service.py index cdff15c89..718911359 100644 --- a/safe_transaction_service/history/services/index_service.py +++ b/safe_transaction_service/history/services/index_service.py @@ -360,11 +360,6 @@ def txs_create_or_update_from_tx_hashes( ethereum_txs_dict[ethereum_tx.tx_hash] = ethereum_tx logger.debug("Blocks, transactions and receipts were inserted") - # TODO Remove, this is meant to detect a bug on production - for tx_hash, ethereum_tx in ethereum_txs_dict.items(): - if not ethereum_tx: - logger.error("Unexpected missing tx with tx-hash=%s", tx_hash) - return list(ethereum_txs_dict.values()) @transaction.atomic