aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-04-26 01:42:03 +0800
committerGitHub <noreply@github.com>2018-04-26 01:42:03 +0800
commitf6653b9f94b60dfaf576530a7248659b177b136b (patch)
tree61a2978353ad6148ce722507854bc94b76013c8c
parentac334d7b1a9cd8b6888f5c4f3309740d5df62474 (diff)
parent7ec775d614b3717a424e6a5576aef90a74e4344d (diff)
downloadtangerine-wallet-browser-f6653b9f94b60dfaf576530a7248659b177b136b.tar.gz
tangerine-wallet-browser-f6653b9f94b60dfaf576530a7248659b177b136b.tar.zst
tangerine-wallet-browser-f6653b9f94b60dfaf576530a7248659b177b136b.zip
Merge pull request #4069 from MetaMask/i4056-LatestPriceApi
Use latest balanc3 api for prices
-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) { }