diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-04-26 01:42:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 01:42:03 +0800 |
commit | f6653b9f94b60dfaf576530a7248659b177b136b (patch) | |
tree | 61a2978353ad6148ce722507854bc94b76013c8c | |
parent | ac334d7b1a9cd8b6888f5c4f3309740d5df62474 (diff) | |
parent | 7ec775d614b3717a424e6a5576aef90a74e4344d (diff) | |
download | tangerine-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.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 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) { } |