diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2017-09-30 12:10:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-30 12:10:10 +0800 |
commit | 37979fca68786d20dcdd7edc3d4127ef1ec6afb1 (patch) | |
tree | 9f7f2b2dc9958199f96b610d8c02e8633a851919 /app/scripts/controllers/currency.js | |
parent | 7bdf73b1ddb7249907be5500b35f0b91490e1893 (diff) | |
parent | d5b0d8af4f4907398154449239465efba601eb4d (diff) | |
download | tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar.gz tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar.bz2 tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar.lz tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar.xz tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.tar.zst tangerine-wallet-browser-37979fca68786d20dcdd7edc3d4127ef1ec6afb1.zip |
Merge pull request #2241 from MetaMask/Version-3.10.8-FixCurrency
Version 3.10.8 - Fix Currency Conversion
Diffstat (limited to 'app/scripts/controllers/currency.js')
-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 9e696ce55..25a7a942e 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://api.infura.io/v1/ticker/eth${currentCurrency}`) + return fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`) .then(response => response.json()) .then((parsedResponse) => { this.setConversionRate(Number(parsedResponse.bid)) |