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.
pull/404/head
Felipe Renan 6 years ago
parent 45499cbb4c
commit e6775ed987
  1. 3
      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, []}
]

Loading…
Cancel
Save