aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/token-rates.js
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-04-27 05:16:35 +0800
committerGitHub <noreply@github.com>2018-04-27 05:16:35 +0800
commit4e7b0ff15c5a57cd58497aa292c884a97e8a5d23 (patch)
treeb0d825eac0e2c187c89aacba0df2d7d2a9d44131 /app/scripts/controllers/token-rates.js
parentdcd04091cc0149cbb0a49bfdf7897e2ac480c7bc (diff)
parentb97457e9e2b74ca1bffc7655568e4f61dba1c409 (diff)
downloadtangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar.gz
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar.bz2
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar.lz
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar.xz
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.tar.zst
tangerine-wallet-browser-4e7b0ff15c5a57cd58497aa292c884a97e8a5d23.zip
Merge pull request #4095 from MetaMask/v4.6.0v4.6.0
Version 4.6.0
Diffstat (limited to 'app/scripts/controllers/token-rates.js')
-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 21384f262..abeec4cc0 100644
--- a/app/scripts/controllers/token-rates.js
+++ b/app/scripts/controllers/token-rates.js
@@ -39,7 +39,7 @@ class TokenRatesController {
*/
async fetchExchangeRate (address) {
try {
- const response = await fetch(`https://metamask.dev.balanc3.net/prices?from=${address}&to=ETH&autoConversion=false&summaryOnly=true`)
+ const response = await fetch(`https://metamask.balanc3.net/prices?from=${address}&to=ETH&autoConversion=false&summaryOnly=true`)
const json = await response.json()
return json && json.length ? json[0].averagePrice : 0
} catch (error) { }