fix txlist ordering issue

pull/2837/head
Ayrat Badykov 5 years ago
parent c8e34dd8af
commit 0c747834ef
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/explorer/lib/explorer/etherscan.ex

@ -272,7 +272,7 @@ defmodule Explorer.Etherscan do
from(
t in Transaction,
inner_join: b in assoc(t, :block),
order_by: [{^options.order_by_direction, b.number}],
order_by: [{^options.order_by_direction, t.block_number}],
limit: ^options.page_size,
offset: ^offset(options),
select:

Loading…
Cancel
Save