remaning -> remaining

pull/848/head
Luke Imhoff 6 years ago
parent c60ae9467f
commit 9264a92db3
  1. 8
      apps/indexer/lib/indexer/block/catchup/fetcher.ex

@ -101,12 +101,12 @@ defmodule Indexer.Block.Catchup.Fetcher do
end end
end end
@async_import_remaning_block_data_options ~w(address_hash_to_fetched_balance_block_number transaction_hash_to_block_number)a @async_import_remaining_block_data_options ~w(address_hash_to_fetched_balance_block_number transaction_hash_to_block_number)a
@impl Block.Fetcher @impl Block.Fetcher
def import(_, options) when is_map(options) do def import(_, options) when is_map(options) do
{async_import_remaning_block_data_options, chain_import_options} = {async_import_remaining_block_data_options, chain_import_options} =
Map.split(options, @async_import_remaning_block_data_options) Map.split(options, @async_import_remaining_block_data_options)
with {:ok, results} = ok <- with {:ok, results} = ok <-
chain_import_options chain_import_options
@ -114,7 +114,7 @@ defmodule Indexer.Block.Catchup.Fetcher do
|> Chain.import() do |> Chain.import() do
async_import_remaining_block_data( async_import_remaining_block_data(
results, results,
async_import_remaning_block_data_options async_import_remaining_block_data_options
) )
ok ok

Loading…
Cancel
Save