@ -56,9 +56,7 @@ defmodule Explorer.Application do
end
defp should_start?(process) do
:explorer
Application.get_env(:explorer, process, [])[:enabled] == true
|> Application.fetch_env!(process)
|> Keyword.fetch!(:enabled)
defp configure(process) do
@ -135,8 +135,6 @@ defmodule Explorer.ExchangeRates do
defp enabled? do
Application.get_env(:explorer, __MODULE__, [])[:enabled] == true
|> Application.fetch_env!(__MODULE__)
@ -134,8 +134,6 @@ defmodule Explorer.KnownTokens do