diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e407bde2c..674ee8d91b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ### Fixes - [#2793](https://github.com/poanetwork/blockscout/pull/2793) - Hide "We are indexing this chain right now. Some of the counts may be inaccurate" banner if no txs in blockchain - [#2779](https://github.com/poanetwork/blockscout/pull/2779) - fix fetching `latin1` encoded data +- [#2799](https://github.com/poanetwork/blockscout/pull/2799) - fix catchup fetcher for empty node and db - [#2783](https://github.com/poanetwork/blockscout/pull/2783) - Fix stuck value and ticker on the token page - [#2781](https://github.com/poanetwork/blockscout/pull/2781) - optimize txlist json rpc - [#2770](https://github.com/poanetwork/blockscout/pull/2770) - do not re-fetch token instances without uris diff --git a/apps/indexer/lib/indexer/block/catchup/fetcher.ex b/apps/indexer/lib/indexer/block/catchup/fetcher.ex index 99ce02dc28..d158443be1 100644 --- a/apps/indexer/lib/indexer/block/catchup/fetcher.ex +++ b/apps/indexer/lib/indexer/block/catchup/fetcher.ex @@ -76,7 +76,7 @@ defmodule Indexer.Block.Catchup.Fetcher do case latest_block(json_rpc_named_arguments) do # let realtime indexer get the genesis block 0 -> - %{first_block_number: 0, missing_block_count: 0, shrunk: false} + %{first_block_number: 0, missing_block_count: 0, last_block_number: 0, shrunk: false} latest_block_number -> # realtime indexer gets the current latest block