mirror of
				https://github.com/Instadapp/trustwallet-assets.git
				synced 2024-07-29 22:37:31 +00:00 
			
		
		
		
	remove spaces
This commit is contained in:
		
							parent
							
								
									bb3b782553
								
							
						
					
					
						commit
						58a95c88f9
					
				| 
						 | 
				
			
			@ -16,10 +16,8 @@ import {
 | 
			
		|||
} from "../src/test/helpers"
 | 
			
		||||
const sharp = require('sharp')
 | 
			
		||||
const bluebird = require("bluebird")
 | 
			
		||||
 | 
			
		||||
const foundChains = readDirSync(chainsFolderPath)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function downsize() {
 | 
			
		||||
    console.log(`Start resizing`)
 | 
			
		||||
    bluebird.mapSeries(foundChains, async chain => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,4 @@
 | 
			
		|||
const { execSync } = require('child_process');
 | 
			
		||||
const fs = require('fs')
 | 
			
		||||
const path = require('path')
 | 
			
		||||
const axios = require('axios')
 | 
			
		||||
import { readDirSync } from "../src/test/helpers";
 | 
			
		||||
| 
						 | 
				
			
			@ -10,7 +9,6 @@ const chainAddresses = readDirSync(assetsPath)
 | 
			
		|||
chainAddresses.forEach(async addr => {
 | 
			
		||||
    const trc20Info = await axios.get(`https://apilist.tronscan.org/api/token_trc20?contract=${addr}&showAll=1`).then(({ data }) => data)
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
    if (!isChecksum) {
 | 
			
		||||
        console.log(`Address ${addr} not in checksum`)
 | 
			
		||||
        const checksum = web3.utils.toChecksumAddress(addr)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user