fix sobelow

pull/2499/head
Ayrat Badykov 5 years ago
parent bff4b0b19a
commit e935246f8a
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 1
      apps/explorer/lib/explorer/chain_spec/genesis_data.ex

@ -49,6 +49,7 @@ defmodule Explorer.ChainSpec.GenesisData do
{:noreply, state} {:noreply, state}
end end
# sobelow_skip ["Traversal"]
def fetch_genesis_data do def fetch_genesis_data do
if Application.get_env(:explorer, __MODULE__)[:chain_spec_path] do if Application.get_env(:explorer, __MODULE__)[:chain_spec_path] do
Task.Supervisor.async_nolink(Explorer.GenesisDataTaskSupervisor, fn -> Task.Supervisor.async_nolink(Explorer.GenesisDataTaskSupervisor, fn ->

Loading…
Cancel
Save