From 85b522917a3683d93b50f3e68412df02d3f60a7b Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 4 Jun 2019 10:32:29 +0300 Subject: [PATCH] fix page size --- apps/explorer/lib/explorer/chain/blocks_cache.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain/blocks_cache.ex b/apps/explorer/lib/explorer/chain/blocks_cache.ex index 24fab7f8b7..1df3fc8e31 100644 --- a/apps/explorer/lib/explorer/chain/blocks_cache.ex +++ b/apps/explorer/lib/explorer/chain/blocks_cache.ex @@ -46,7 +46,7 @@ defmodule Explorer.Chain.BlocksCache do end def enough_elements?(number) do - ConCache.size(@cache_name) > number + 1 + ConCache.size(@cache_name) > number end def update_blocks(blocks) do