From 1241d22ac30d981c3435c848c5129c70c5dd3efb Mon Sep 17 00:00:00 2001 From: Nick Kozlov <22479658+EnoRage@users.noreply.github.com> Date: Tue, 14 Jul 2020 17:30:05 +0300 Subject: [PATCH] Bring back changes (#2737) --- pricing/coinmarketcap/script.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pricing/coinmarketcap/script.ts b/pricing/coinmarketcap/script.ts index a2e697ab1..6b2ff9045 100644 --- a/pricing/coinmarketcap/script.ts +++ b/pricing/coinmarketcap/script.ts @@ -9,7 +9,6 @@ import { readFileSync, getChainAssetLogoPath, isPathExistsSync, - getChainName, makeDirSync, getChainAssetPath, ethSidechains, @@ -17,10 +16,9 @@ import { getChainWhitelist, } from "../../src/test/helpers"; import { TickerType, mapTiker, PlatformType } from "../../src/test/models"; -import { CoinType } from "@trustwallet/types"; // Steps required to run this: -// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before. +// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before. // 2. Pull down tokens repo https://github.com/trustwallet/assets and point COIN_IMAGE_BASE_PATH and TOKEN_IMAGE_BASE_PATH to it. // 3. Run: `npm run gen:list` @@ -56,7 +54,6 @@ const custom: mapTiker[] = [ ] const allContracts: mapTiker[] = [] // Temp storage for mapped assets -let bip44Constants = {} let bnbOwnerToSymbol = {} // e.g: bnb1tawge8u97slduhhtumm03l4xl4c46dwv5m9yzk: WISH-2D5 let bnbOriginalSymbolToSymbol = {} // e.g: WISH: WISH-2D5 @@ -96,7 +93,6 @@ async function processCoin(coin) { id }) } - // await getImageIfMissing(getChainName(CoinType.ethereum), checksum, id) } catch (error) { console.log(`Etheruem platform error`, error) break