Skip to content

Commit 93f1826

Browse files
authored
perf: Fix /advanced-filters timeout when scam filtering enabled (blockscout#14047)
1 parent b048315 commit 93f1826

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/explorer/lib/explorer/chain/advanced_filter.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ defmodule Explorer.Chain.AdvancedFilter do
576576

577577
filtered_and_paginated_query =
578578
token_transfer_query
579-
|> ExplorerHelper.maybe_hide_scam_addresses(:token_contract_address_hash, options)
579+
|> ExplorerHelper.maybe_hide_scam_addresses_for_token_transfers(options)
580580
|> limit_query(paging_options)
581581
|> query_function.(false)
582582
|> limit_query(paging_options)

0 commit comments

Comments
 (0)