From e97326891026799ec814c8690b34a527d0150ff1 Mon Sep 17 00:00:00 2001 From: Pavel Pustovalov Date: Tue, 13 Feb 2024 16:15:52 +0100 Subject: [PATCH] Exclude rejected transactions from /api/v2/addresses/0x/transactions --- apps/explorer/lib/explorer/chain/transaction.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/explorer/lib/explorer/chain/transaction.ex b/apps/explorer/lib/explorer/chain/transaction.ex index 10cccfe87bf0..64daafa43096 100644 --- a/apps/explorer/lib/explorer/chain/transaction.ex +++ b/apps/explorer/lib/explorer/chain/transaction.ex @@ -1410,6 +1410,7 @@ defmodule Explorer.Chain.Transaction do options |> address_to_transactions_tasks_query(false, old_ui?) |> not_dropped_or_replaced_transactions() + |> not_pending_transactions() |> Chain.join_associations(necessity_by_association) |> put_has_token_transfers_to_tx(old_ui?) |> matching_address_queries_list(direction, address_hash)