aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2018-10-24 15:40:38 +0800
committerHsuan Lee <hsuan@cobinhood.com>2018-12-10 18:27:43 +0800
commitb9b8c9d70bfa12aa5c752f05d676b2e1a67405b6 (patch)
tree6f38bcb507cf0c1286379ac4320a02c8a15679cc /app/scripts/controllers
parent1707172b35661330c34ed90209676ecc945611f9 (diff)
downloaddexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.tar.gz
dexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.tar.zst
dexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.zip
Update Dexon wording
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/token-rates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/token-rates.js b/app/scripts/controllers/token-rates.js
index f9fb2aa4..9d38278e 100644
--- a/app/scripts/controllers/token-rates.js
+++ b/app/scripts/controllers/token-rates.js
@@ -55,7 +55,7 @@ class TokenRatesController {
*/
async fetchExchangeRate (address) {
try {
- const response = await fetch(`https://metamask.balanc3.net/prices?from=${address}&to=ETH&autoConversion=false&summaryOnly=true`)
+ const response = await fetch(`https://metamask.balanc3.net/prices?from=${address}&to=DEX&autoConversion=false&summaryOnly=true`)
const json = await response.json()
return json && json.length ? json[0].averagePrice : 0
} catch (error) {