From e6775ed9879072d588fc52d34b05ce98c1f58bd4 Mon Sep 17 00:00:00 2001 From: Felipe Renan Date: Fri, 13 Jul 2018 17:32:55 -0300 Subject: [PATCH] Fix Indexer Supervisor three We are facing this error when starting the `Indexer`: ``` ** (EXIT) an exception was raised: ** (ArgumentError) :json_rpc_named_arguments must be provided to `Elixir.Indexer.InternalTransactionFetcher.child_spec to allow for json_rpc calls when running. ``` It was missing the `json_rpc_named_arguments` to InternalTransactionFetcher children. --- apps/indexer/lib/indexer/application.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/indexer/lib/indexer/application.ex b/apps/indexer/lib/indexer/application.ex index 5d632404f1..900a7e66a3 100644 --- a/apps/indexer/lib/indexer/application.ex +++ b/apps/indexer/lib/indexer/application.ex @@ -15,7 +15,8 @@ defmodule Indexer.Application do {Task.Supervisor, name: Indexer.TaskSupervisor}, {AddressBalanceFetcher, name: AddressBalanceFetcher, json_rpc_named_arguments: json_rpc_named_arguments}, {PendingTransactionFetcher, name: PendingTransactionFetcher, json_rpc_named_arguments: json_rpc_named_arguments}, - {InternalTransactionFetcher, name: InternalTransactionFetcher}, + {InternalTransactionFetcher, + name: InternalTransactionFetcher, json_rpc_named_arguments: json_rpc_named_arguments}, {BlockFetcher, []} ]