Merge pull request #4345 from blockscout/np-fix-validators-txs-page

Fix txs page for validators
pull/4346/head
Victor Baranov 3 years ago committed by GitHub
commit e3d5778018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 4
      apps/explorer/lib/explorer/chain.ex

@ -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 - [#4067](https://github.com/blockscout/blockscout/pull/4067) - Display LP tokens USD value and custom metadata in tokens dropdown at address page
### Fixes ### 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 - [#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 - [#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 - [#4274](https://github.com/blockscout/blockscout/pull/4302) - Fix search token-autocomplete

@ -375,7 +375,11 @@ defmodule Explorer.Chain do
{-emission_reward.block.number, 1} {-emission_reward.block.number, 1}
item -> item ->
if item.block_number do
{-item.block_number, -item.index} {-item.block_number, -item.index}
else
{0, -item.index}
end
end end
end) end)
|> Enum.dedup_by(fn item -> |> Enum.dedup_by(fn item ->

Loading…
Cancel
Save