small fix for coingecko

This commit is contained in:
Alexey 2019-12-18 19:08:33 +03:00
parent 87572cd499
commit e236fade58

@ -92,7 +92,7 @@ function getMainnetTokens() {
Object.entries(tokens).map(([currency, data]) => { Object.entries(tokens).map(([currency, data]) => {
if (currency !== 'eth') { if (currency !== 'eth') {
tokenAddresses.push(data.tokenAddress) tokenAddresses.push(data.tokenAddress)
currencyLookup[data.tokenAddress] = currency currencyLookup[data.tokenAddress.toLowerCase()] = currency
} }
}) })
return { tokenAddresses, currencyLookup } return { tokenAddresses, currencyLookup }