[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() const tokenAddr = platform.token_address.trim()
log(`tron: ${tokenAddr}`) log(`tron: ${tokenAddr}`)
if (tokenAddr.length > 0) {
addToContractsList({ addToContractsList({
coin: 195, coin: 195,
type: typeToken, type: typeToken,
token_id: tokenAddr, token_id: tokenAddr,
id id
}) })
}
break break
// case PlatformType.VeChain: // case PlatformType.VeChain:
// if (symbol === "VET") { // if (symbol === "VET") {