From f34e88d8ce45e63963d852002c8acf224cc51896 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 2 Apr 2019 12:21:44 +0300 Subject: [PATCH] remove fetching token 2 times --- apps/indexer/lib/indexer/block/fetcher.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/indexer/lib/indexer/block/fetcher.ex b/apps/indexer/lib/indexer/block/fetcher.ex index a4b24f88b6..73e4643a62 100644 --- a/apps/indexer/lib/indexer/block/fetcher.ex +++ b/apps/indexer/lib/indexer/block/fetcher.ex @@ -148,7 +148,6 @@ defmodule Indexer.Block.Fetcher do transactions: %{params: transactions_with_receipts} } ) do - async_import_tokens(inserted) {:ok, %{inserted: inserted, errors: blocks_errors}} else {step, {:error, reason}} -> {:error, {step, reason}}