diff --git a/mev_inspect/miner_payments.py b/mev_inspect/miner_payments.py index cb3d80f..8e74729 100644 --- a/mev_inspect/miner_payments.py +++ b/mev_inspect/miner_payments.py @@ -21,7 +21,9 @@ def get_miner_payments( traces_by_transaction_hash = get_traces_by_transaction_hash(traces) for receipt in receipts: - transaciton_traces = traces_by_transaction_hash[receipt.transaction_hash] + transaciton_traces = traces_by_transaction_hash.get( + receipt.transaction_hash, [] + ) if len(transaciton_traces) == 0: continue