From e236fade58019aa4b8fcecdffe1297d9d45a80e1 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 18 Dec 2019 19:08:33 +0300 Subject: [PATCH] small fix for coingecko --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 81b2a41..7b21fde 100644 --- a/src/utils.js +++ b/src/utils.js @@ -92,7 +92,7 @@ function getMainnetTokens() { Object.entries(tokens).map(([currency, data]) => { if (currency !== 'eth') { tokenAddresses.push(data.tokenAddress) - currencyLookup[data.tokenAddress] = currency + currencyLookup[data.tokenAddress.toLowerCase()] = currency } }) return { tokenAddresses, currencyLookup }