diff --git a/script/generic/asset-infos.ts b/script/generic/asset-infos.ts index b0df5f4fb..7b554eeed 100644 --- a/script/generic/asset-infos.ts +++ b/script/generic/asset-infos.ts @@ -403,12 +403,8 @@ function isAssetInfoOK(chain: string, isCoin: boolean, address: string, errors: let matchCount = 0; explorersAlt.forEach(exp => { if (exp.toLowerCase() == explorerActualLower) { ++matchCount; }}); if (matchCount == 0) { - // none matches, this is warning/error - if (chain.toLowerCase() == CoinType.name(CoinType.ethereum) || chain.toLowerCase() == CoinType.name(CoinType.smartchain)) { - errors.push(`Incorrect explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); - } else { - warnings.push(`Unexpected explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); - } + // none matches, this is error + errors.push(`Incorrect explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); } } }