diff --git a/script/updateBEP2.js b/script/updateBEP2.js index 8160b37f7..2303d441f 100644 --- a/script/updateBEP2.js +++ b/script/updateBEP2.js @@ -3,12 +3,13 @@ const bluebird = require("bluebird") const fs = require("fs") const path = require("path") const chalk = require('chalk') +const blacklist = require('../blockchains/binance/blacklist.json') ;(async () => { const { assetInfoList } = await axios.get(`https://explorer.binance.org/api/v1/assets?page=1&rows=1000`).then(r => r.data) await bluebird.each(assetInfoList, async ({ asset, assetImg }) => { - if (assetImg) { + if (assetImg && blacklist.indexOf(asset) == -1) { const binanceDir = path.join(__dirname, `../blockchains/binance`) const imagePath = `${binanceDir}/assets/${asset}/logo.png`