|
|
|
@ -3208,9 +3208,7 @@ defmodule Explorer.Chain do |
|
|
|
|
from(tt in TokenTransfer, |
|
|
|
|
left_join: instance in Instance, |
|
|
|
|
on: tt.token_contract_address_hash == instance.token_contract_address_hash and tt.token_id == instance.token_id, |
|
|
|
|
where: |
|
|
|
|
tt.token_contract_address_hash == ^token_contract_address and tt.token_id == ^token_id and |
|
|
|
|
is_nil(instance.error), |
|
|
|
|
where: tt.token_contract_address_hash == ^token_contract_address and tt.token_id == ^token_id, |
|
|
|
|
limit: 1, |
|
|
|
|
select: %{tt | instance: instance} |
|
|
|
|
) |
|
|
|
|