diff --git a/apps/explorer_web/lib/explorer_web/views/address_view.ex b/apps/explorer_web/lib/explorer_web/views/address_view.ex index 706e53979b..800c99cce0 100644 --- a/apps/explorer_web/lib/explorer_web/views/address_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/address_view.ex @@ -35,7 +35,7 @@ defmodule ExplorerWeb.AddressView do def contract?(%Address{contract_code: _}), do: true - def contract?(_), do: true + def contract?(nil), do: true def formatted_usd(%Address{fetched_balance: nil}, _), do: nil