From 7a87ef65892abe11cdab900b825abb910655c67b Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria <6909403+Uxio0@users.noreply.github.com> Date: Thu, 5 Dec 2024 10:37:08 +0100 Subject: [PATCH] Remove log for `Unexpected missing transaction` - Thanks to that log line we found out that the issue was on safe-eth-py - It was already fixed on https://github.com/safe-global/safe-eth-py/pull/1439 --- safe_transaction_service/history/services/index_service.py | 5 ----- 1 file changed, 5 deletions(-) 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