From 76dad16f1c2a0f7676172936cc07758cdb451c46 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 6 Aug 2019 09:42:23 +0300 Subject: [PATCH] Update chain.ex --- apps/explorer/lib/explorer/chain.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index e687967de8..e6ffcbd9c5 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -232,7 +232,7 @@ defmodule Explorer.Chain do address_hash |> address_to_transactions_without_rewards(paging_options, options) - |> Enum.concat(Task.await(rewards_task, 20_000)) + |> Enum.concat(Task.await(rewards_task, :timer.seconds(20))) |> Enum.sort_by(fn item -> case item do {%Reward{} = emission_reward, _} ->