|
|
@ -2603,7 +2603,7 @@ defmodule Explorer.Chain do |
|
|
|
defp page_addresses(query, %PagingOptions{key: {coin_balance, hash}}) do |
|
|
|
defp page_addresses(query, %PagingOptions{key: {coin_balance, hash}}) do |
|
|
|
from(address in query, |
|
|
|
from(address in query, |
|
|
|
where: |
|
|
|
where: |
|
|
|
(address.fetched_coin_balance <= ^coin_balance and address.hash > ^hash) or |
|
|
|
(address.fetched_coin_balance == ^coin_balance and address.hash > ^hash) or |
|
|
|
address.fetched_coin_balance < ^coin_balance |
|
|
|
address.fetched_coin_balance < ^coin_balance |
|
|
|
) |
|
|
|
) |
|
|
|
end |
|
|
|
end |
|
|
|