diff --git a/CHANGELOG.md b/CHANGELOG.md index 68beb6bd3b..da3e1fb897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,9 @@ - [#1688](https://github.com/poanetwork/blockscout/pull/1688) - do not fail if failure reason is atom - [#1692](https://github.com/poanetwork/blockscout/pull/1692) - exclude decompiled smart contract from encoding - [#1684](https://github.com/poanetwork/blockscout/pull/1684) - Discard child block with parent_hash not matching hash of imported block + - [#1699](https://github.com/poanetwork/blockscout/pull/1699) - use seconds as transaction cache period measure - [#1697](https://github.com/poanetwork/blockscout/pull/1697) - fix failing in rpc if balance is empty - + ### Chore diff --git a/apps/explorer/lib/explorer/chain/transaction_count_cache.ex b/apps/explorer/lib/explorer/chain/transaction_count_cache.ex index 5e441734c2..95685c0fd4 100644 --- a/apps/explorer/lib/explorer/chain/transaction_count_cache.ex +++ b/apps/explorer/lib/explorer/chain/transaction_count_cache.ex @@ -143,7 +143,7 @@ defmodule Explorer.Chain.TransactionCountCache do case System.get_env("TXS_COUNT_CACHE_PERIOD") do value when is_binary(value) -> case Integer.parse(value) do - {integer, ""} -> integer * 1_000 * 60 * 60 + {integer, ""} -> integer * 1_000 _ -> nil end