From 4b4ae13b417b4a31cb1e14fdbdabaf6e915d2178 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 7 Mar 2023 23:11:00 +0300 Subject: [PATCH] Update apps/explorer/lib/explorer/chain/cache/transaction.ex Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com> --- apps/explorer/lib/explorer/chain/cache/transaction.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain/cache/transaction.ex b/apps/explorer/lib/explorer/chain/cache/transaction.ex index 595015c089..299294b153 100644 --- a/apps/explorer/lib/explorer/chain/cache/transaction.ex +++ b/apps/explorer/lib/explorer/chain/cache/transaction.ex @@ -27,7 +27,7 @@ defmodule Explorer.Chain.Cache.Transaction do cached_value = __MODULE__.get_count() if is_nil(cached_value) do - count = Helper.estimated_count_from("blocks") + count = Helper.estimated_count_from("transactions") max(count, 0) else