Update apps/explorer/lib/explorer/chain/cache/transaction.ex

Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>
pull/7037/head
Victor Baranov 2 years ago committed by GitHub
parent 18787f1239
commit 4b4ae13b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/explorer/lib/explorer/chain/cache/transaction.ex

@ -27,7 +27,7 @@ defmodule Explorer.Chain.Cache.Transaction do
cached_value = __MODULE__.get_count() cached_value = __MODULE__.get_count()
if is_nil(cached_value) do if is_nil(cached_value) do
count = Helper.estimated_count_from("blocks") count = Helper.estimated_count_from("transactions")
max(count, 0) max(count, 0)
else else

Loading…
Cancel
Save