|
|
|
@ -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} |
|
|
|
|