[CI] Add check that TRX token_id is not empty

This commit is contained in:
Viktor Radchenko 2020-07-14 11:28:08 -07:00
parent 1241d22ac3
commit 33b694894d

View File

@ -133,12 +133,14 @@ async function processCoin(coin) {
}
const tokenAddr = platform.token_address.trim()
log(`tron: ${tokenAddr}`)
addToContractsList({
coin: 195,
type: typeToken,
token_id: tokenAddr,
id
})
if (tokenAddr.length > 0) {
addToContractsList({
coin: 195,
type: typeToken,
token_id: tokenAddr,
id
})
}
break
// case PlatformType.VeChain:
// if (symbol === "VET") {