Remove orderinng by day in the query

pull/3125/head
Victor Baranov 4 years ago
parent c6693596d5
commit 536f78cacc
  1. 1
      apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex

@ -53,7 +53,6 @@ defmodule Explorer.Chain.Address.CoinBalanceDaily do
CoinBalanceDaily
|> where([cbd], cbd.address_hash == ^address_hash)
|> limit_time_interval(days_to_consider)
|> order_by([cbd], cbd.day)
|> select([cbd], %{date: cbd.day, value: cbd.value})
end

Loading…
Cancel
Save