set infinite timeout for total_transactions_sent_by_address

pull/2787/head
Ayrat Badykov 5 years ago
parent 9fbf63f4a6
commit 5c8eee6fae
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -211,7 +211,7 @@ defmodule Explorer.Chain do
last_nonce =
address_hash
|> Transaction.last_nonce_by_address_query()
|> Repo.one()
|> Repo.one(timeout: :infinity)
case last_nonce do
nil -> 0

Loading…
Cancel
Save