diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-04-24 07:39:08 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-04-24 07:39:33 +0800 |
commit | a833f02f33380ff636c4f01937bb7140ea544aa9 (patch) | |
tree | 0d298bdf146918733f81e1ec2ff502b70c5245f6 | |
parent | 9dd8158b1da0fcc2382df16af2645ce5e7eeff25 (diff) | |
download | tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar.gz tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar.bz2 tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar.lz tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar.xz tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.tar.zst tangerine-wallet-browser-a833f02f33380ff636c4f01937bb7140ea544aa9.zip |
Use the metamask balanc3 dev price api
Fixes #4056
-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) { } |