pull/3236/head
Victor Baranov 4 years ago
parent f25c345c60
commit 292dc8cd4c
  1. 8
      apps/explorer/lib/explorer/chain.ex

@ -999,7 +999,9 @@ defmodule Explorer.Chain do
|> Repo.one()
address_updated_result =
if address_result.smart_contract do
case address_result do
%{smart_contract: smart_contract} ->
if smart_contract do
address_result
else
address_verified_twin_contract = Chain.address_verified_twin_contract(hash)
@ -1017,6 +1019,10 @@ defmodule Explorer.Chain do
end
end
_ ->
address_result
end
address_updated_result
|> case do
nil -> {:error, :not_found}

Loading…
Cancel
Save