|
|
@ -75,6 +75,7 @@ defmodule Explorer.Chain.Address.CoinBalance do |
|
|
|
from( |
|
|
|
from( |
|
|
|
cb in CoinBalance, |
|
|
|
cb in CoinBalance, |
|
|
|
where: cb.address_hash == ^address_hash, |
|
|
|
where: cb.address_hash == ^address_hash, |
|
|
|
|
|
|
|
where: not is_nil(cb.value), |
|
|
|
inner_join: b in Block, |
|
|
|
inner_join: b in Block, |
|
|
|
on: cb.block_number == b.number, |
|
|
|
on: cb.block_number == b.number, |
|
|
|
order_by: [desc: :block_number], |
|
|
|
order_by: [desc: :block_number], |
|
|
|