Fix indexed_ratio_blocks

pull/6961/head
Viktor Baranov 2 years ago
parent 00bfb60fe6
commit f08b3ebff7
  1. 2
      CHANGELOG.md
  2. 2
      apps/explorer/lib/explorer/chain.ex

@ -17,7 +17,7 @@
- [#6912](https://github.com/blockscout/blockscout/pull/6912) - Docker compose fix exposed ports
- [#6913](https://github.com/blockscout/blockscout/pull/6913) - Fix an error occurred when decoding base64 encoded json
- [#6911](https://github.com/blockscout/blockscout/pull/6911) - Fix bugs in verification API v2
- [#6903](https://github.com/blockscout/blockscout/pull/6903), [#6937](https://github.com/blockscout/blockscout/pull/6937) - Fix indexed blocks value in "Indexing tokens" banner
- [#6903](https://github.com/blockscout/blockscout/pull/6903), [#6937](https://github.com/blockscout/blockscout/pull/6937), [#6961](https://github.com/blockscout/blockscout/pull/6961) - Fix indexed blocks value in "Indexing tokens" banner
- [#6891](https://github.com/blockscout/blockscout/pull/6891) - Fix read contract for geth
- [#6889](https://github.com/blockscout/blockscout/pull/6889) - Fix Internal Server Error on tx input decoding
- [#6893](https://github.com/blockscout/blockscout/pull/6893) - Fix token type definition for multiple interface tokens

@ -2238,7 +2238,7 @@ defmodule Explorer.Chain do
|> (&if(
(Decimal.compare(&1, Decimal.from_float(0.99)) == :gt ||
Decimal.compare(&1, Decimal.from_float(0.99)) == :eq) &&
min == min_blockchain_block_number,
min <= min_blockchain_block_number,
do: Decimal.new(1),
else: &1
)).()

Loading…
Cancel
Save