Skip to content

Commit

Permalink
Remove log for Unexpected missing transaction
Browse files Browse the repository at this point in the history
- Thanks to that log line we found out that the issue was on safe-eth-py
- It was already fixed on safe-global/safe-eth-py#1439
  • Loading branch information
Uxio0 committed Dec 5, 2024
1 parent d67d5c6 commit 7a87ef6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions safe_transaction_service/history/services/index_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a87ef6

Please sign in to comment.