diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-06-06 07:23:56 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-06-06 07:23:56 +0800 |
commit | 203a573f3fa8cf636c846a0a467318f6767d05fe (patch) | |
tree | 0a0a02db73ccf7f9d028427ef1590497a82cdada /app/scripts/controllers | |
parent | f5faeed2c96f25333a83631833ccb8805fea3c47 (diff) | |
download | tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar.gz tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar.bz2 tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar.lz tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar.xz tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.tar.zst tangerine-wallet-browser-203a573f3fa8cf636c846a0a467318f6767d05fe.zip |
Use new URL for currency API from cryptonator.
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r-- | app/scripts/controllers/currency.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/currency.js b/app/scripts/controllers/currency.js index fb130ed76..1f20dc005 100644 --- a/app/scripts/controllers/currency.js +++ b/app/scripts/controllers/currency.js @@ -45,7 +45,7 @@ class CurrencyController { updateConversionRate () { const currentCurrency = this.getCurrentCurrency() - return fetch(`https://www.cryptonator.com/api/ticker/eth-${currentCurrency}`) + return fetch(`https://api.cryptonator.com/api/ticker/eth-${currentCurrency}`) .then(response => response.json()) .then((parsedResponse) => { this.setConversionRate(Number(parsedResponse.ticker.price)) |