From 0a3f29eb5289e74d388d2661b5fac2b60b47da14 Mon Sep 17 00:00:00 2001 From: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:10:18 +0400 Subject: [PATCH] fix: Filter out tokens with skip_metadata: true from token fetcher (#10736) --- apps/explorer/lib/explorer/chain.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index 2b40f4d879..c9307fedde 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -3672,6 +3672,7 @@ defmodule Explorer.Chain do from( token in Token, where: token.cataloged == false or is_nil(token.cataloged), + where: is_nil(token.skip_metadata) or token.skip_metadata == false, select: token.contract_address_hash )