diff --git a/CHANGELOG.md b/CHANGELOG.md index fd9c8aba33..0fc0bbf57e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - [#4067](https://github.com/blockscout/blockscout/pull/4067) - Display LP tokens USD value and custom metadata in tokens dropdown at address page ### Fixes +- [#4345](https://github.com/blockscout/blockscout/pull/4345) - Fix bug on validator's address transactions page - [#4342](https://github.com/blockscout/blockscout/pull/4342) - Remove dropped/replaced txs from address transactions page - [#4320](https://github.com/blockscout/blockscout/pull/4320) - Fix absence of imported smart-contracts' source code in `getsourcecode` api method - [#4274](https://github.com/blockscout/blockscout/pull/4302) - Fix search token-autocomplete diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index 24f21ee7a9..2524770de4 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -375,7 +375,11 @@ defmodule Explorer.Chain do {-emission_reward.block.number, 1} item -> - {-item.block_number, -item.index} + if item.block_number do + {-item.block_number, -item.index} + else + {0, -item.index} + end end end) |> Enum.dedup_by(fn item ->