Update chain.ex

pull/2502/head
Ayrat Badykov 5 years ago committed by GitHub
parent 6a192153c1
commit 76dad16f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -232,7 +232,7 @@ defmodule Explorer.Chain do
address_hash address_hash
|> address_to_transactions_without_rewards(paging_options, options) |> 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 -> |> Enum.sort_by(fn item ->
case item do case item do
{%Reward{} = emission_reward, _} -> {%Reward{} = emission_reward, _} ->

Loading…
Cancel
Save