|
|
@ -46,7 +46,7 @@ defmodule Explorer.Chain.BlocksCache do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def enough_elements?(number) do |
|
|
|
def enough_elements?(number) do |
|
|
|
ConCache.size(@cache_name) > number + 1 |
|
|
|
ConCache.size(@cache_name) > number |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def update_blocks(blocks) do |
|
|
|
def update_blocks(blocks) do |
|
|
|