Add CHANGELOG entry

pull/3124/head
Victor Baranov 5 years ago
parent 0bea4fe3a7
commit 97c6b442b3
  1. 1
      CHANGELOG.md
  2. 2
      apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex

@ -12,6 +12,7 @@
- [#3106](https://github.com/poanetwork/blockscout/pull/3106), [#3115](https://github.com/poanetwork/blockscout/pull/3115) - Fix verification of contracts, created from factory (from internal transaction) - [#3106](https://github.com/poanetwork/blockscout/pull/3106), [#3115](https://github.com/poanetwork/blockscout/pull/3115) - Fix verification of contracts, created from factory (from internal transaction)
### Chore ### Chore
- [#3124](https://github.com/poanetwork/blockscout/pull/3124) - Display upper border for tx speed if the value cannot be calculated
## 3.1.2-beta ## 3.1.2-beta

@ -143,7 +143,7 @@ defmodule BlockScoutWeb.TransactionView do
:pending :pending
end end
def processing_time_duration(%Transaction{earliest_processing_start: nil} = tx) do def processing_time_duration(%Transaction{earliest_processing_start: nil}) do
avg_time = Timex.Duration.to_seconds(Explorer.Counters.AverageBlockTime.average_block_time()) avg_time = Timex.Duration.to_seconds(Explorer.Counters.AverageBlockTime.average_block_time())
{:ok, "<= #{avg_time} seconds"} {:ok, "<= #{avg_time} seconds"}
end end

Loading…
Cancel
Save