small fix for coingecko
This commit is contained in:
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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user