From d2683964f8d3ef806c8a277c5c65e6343fd86ac5 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Sat, 30 Dec 2023 21:54:55 +0800 Subject: [PATCH] add status in stream_transactions_with_unfetched_created_contract_codes --- apps/explorer/lib/explorer/chain.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index f6a4e3615f..e61f9cf6ca 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -1988,7 +1988,7 @@ defmodule Explorer.Chain do from(t in Transaction, where: not is_nil(t.block_hash) and not is_nil(t.created_contract_address_hash) and - is_nil(t.created_contract_code_indexed_at), + is_nil(t.created_contract_code_indexed_at) and t.status == ^1, select: ^fields )