From add1eaf8652cc7f29a1bc98520fdeec1d99b512b Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 26 Feb 2019 15:47:27 +0300 Subject: [PATCH] fix credo --- apps/indexer/lib/indexer/block/catchup/fetcher.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/indexer/lib/indexer/block/catchup/fetcher.ex b/apps/indexer/lib/indexer/block/catchup/fetcher.ex index 9e11be90f631..c85652d4ff18 100644 --- a/apps/indexer/lib/indexer/block/catchup/fetcher.ex +++ b/apps/indexer/lib/indexer/block/catchup/fetcher.ex @@ -190,7 +190,7 @@ defmodule Indexer.Block.Catchup.Fetcher do [] end) - transaction_data = + filtered_transaction_data = if Keyword.get(json_rpc_named_arguments, :variant) == EthereumJSONRPC.Geth do {_, max_block_number} = Chain.fetch_min_and_max_block_numbers() @@ -201,7 +201,7 @@ defmodule Indexer.Block.Catchup.Fetcher do transaction_data end - InternalTransaction.Fetcher.async_fetch(transaction_data, 10_000) + InternalTransaction.Fetcher.async_fetch(filtered_transaction_data, 10_000) end defp async_import_internal_transactions(_, _), do: :ok