mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
[CI] Add check that TRX token_id is not empty
This commit is contained in:
parent
1241d22ac3
commit
33b694894d
|
@ -133,12 +133,14 @@ async function processCoin(coin) {
|
||||||
}
|
}
|
||||||
const tokenAddr = platform.token_address.trim()
|
const tokenAddr = platform.token_address.trim()
|
||||||
log(`tron: ${tokenAddr}`)
|
log(`tron: ${tokenAddr}`)
|
||||||
addToContractsList({
|
if (tokenAddr.length > 0) {
|
||||||
coin: 195,
|
addToContractsList({
|
||||||
type: typeToken,
|
coin: 195,
|
||||||
token_id: tokenAddr,
|
type: typeToken,
|
||||||
id
|
token_id: tokenAddr,
|
||||||
})
|
id
|
||||||
|
})
|
||||||
|
}
|
||||||
break
|
break
|
||||||
// case PlatformType.VeChain:
|
// case PlatformType.VeChain:
|
||||||
// if (symbol === "VET") {
|
// if (symbol === "VET") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user