diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-04-24 07:56:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 07:56:04 +0800 |
commit | c9d3b158b62409a4e40f4944a786c1f02063a829 (patch) | |
tree | d6eeacad5c0ae3ee5791ca7c5db6adf9e9b6a2f6 | |
parent | 9ae2558d205b67fe1b379e9411212721e405396b (diff) | |
parent | a833f02f33380ff636c4f01937bb7140ea544aa9 (diff) | |
download | tangerine-wallet-browser-c9d3b158b62409a4e40f4944a786c1f02063a829.tar.gz tangerine-wallet-browser-c9d3b158b62409a4e40f4944a786c1f02063a829.tar.zst tangerine-wallet-browser-c9d3b158b62409a4e40f4944a786c1f02063a829.zip |
Merge pull request #4062 from MetaMask/i4056-LatestPriceApi
Use the metamask balanc3 dev price api
-rw-r--r-- | app/scripts/controllers/token-rates.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/token-rates.js b/app/scripts/controllers/token-rates.js index 28409ea10..21384f262 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://exchanges.balanc3.net/prices?from=${address}&to=ETH&autoConversion=false&summaryOnly=true`) + const response = await fetch(`https://metamask.dev.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) { } |