remove fetching token 2 times

pull/1691/head
Ayrat Badykov 6 years ago
parent 82686a78ae
commit f34e88d8ce
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 1
      apps/indexer/lib/indexer/block/fetcher.ex

@ -148,7 +148,6 @@ defmodule Indexer.Block.Fetcher do
transactions: %{params: transactions_with_receipts} transactions: %{params: transactions_with_receipts}
} }
) do ) do
async_import_tokens(inserted)
{:ok, %{inserted: inserted, errors: blocks_errors}} {:ok, %{inserted: inserted, errors: blocks_errors}}
else else
{step, {:error, reason}} -> {:error, {step, reason}} {step, {:error, reason}} -> {:error, {step, reason}}

Loading…
Cancel
Save