From 3e045a8eb5ae134c18772a1babb1a54a8e32f948 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 3 Jul 2019 15:41:53 +0300 Subject: [PATCH] fix credo --- apps/block_scout_web/lib/block_scout_web/notifier.ex | 2 +- apps/explorer/lib/explorer/smart_contract/publisher_worker.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/notifier.ex b/apps/block_scout_web/lib/block_scout_web/notifier.ex index eb7149e299..1002f51eac 100644 --- a/apps/block_scout_web/lib/block_scout_web/notifier.ex +++ b/apps/block_scout_web/lib/block_scout_web/notifier.ex @@ -8,8 +8,8 @@ defmodule BlockScoutWeb.Notifier do alias Explorer.{Chain, Market, Repo} alias Explorer.Chain.{Address, InternalTransaction, Transaction} alias Explorer.Counters.AverageBlockTime - alias Explorer.SmartContract.{Solidity.CodeCompiler, Solidity.CompilerVersion} alias Explorer.ExchangeRates.Token + alias Explorer.SmartContract.{Solidity.CodeCompiler, Solidity.CompilerVersion} alias Phoenix.View def handle_event({:chain_event, :addresses, type, addresses}) when type in [:realtime, :on_demand] do diff --git a/apps/explorer/lib/explorer/smart_contract/publisher_worker.ex b/apps/explorer/lib/explorer/smart_contract/publisher_worker.ex index 0dcb878f28..b507b9f158 100644 --- a/apps/explorer/lib/explorer/smart_contract/publisher_worker.ex +++ b/apps/explorer/lib/explorer/smart_contract/publisher_worker.ex @@ -5,8 +5,8 @@ defmodule Explorer.SmartContract.PublisherWorker do use Que.Worker, concurrency: 5 - alias Explorer.SmartContract.Publisher alias Explorer.Chain.Events.Publisher, as: EventsPublisher + alias Explorer.SmartContract.Publisher def perform({address_hash, params, external_libraries}) do result =