Merge pull request #3374 from poanetwork/vb-fix-coin-balance-history-query

Fix find block timestamp query
pull/3375/head
Victor Baranov 4 years ago committed by GitHub
commit eb124072b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 1
      apps/explorer/lib/explorer/chain.ex

@ -8,6 +8,7 @@
### Fixes
- [#3374](https://github.com/poanetwork/blockscout/pull/3374) - Fix find block timestamp query
- [#3373](https://github.com/poanetwork/blockscout/pull/3373) - Fix horizontal scroll in Tokens table
- [#3370](https://github.com/poanetwork/blockscout/pull/3370) - Improve contracts verification: refine constructor arguments extractor
- [#3368](https://github.com/poanetwork/blockscout/pull/3368) - Fix Verify contract loading button width

@ -5488,6 +5488,7 @@ defmodule Explorer.Chain do
Block
|> where([b], b.number == ^number)
|> select([b], b.timestamp)
|> limit(1)
|> Repo.one()
end
end

Loading…
Cancel
Save