Skip to content

Commit

Permalink
fix credo
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Feb 26, 2019
1 parent dbaadc9 commit add1eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/indexer/lib/indexer/block/catchup/fetcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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
Expand Down

0 comments on commit add1eaf

Please sign in to comment.