aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-09-30 11:57:15 +0800
committerDan Finlay <dan@danfinlay.com>2017-09-30 11:57:15 +0800
commitd5b0d8af4f4907398154449239465efba601eb4d (patch)
tree9f7f2b2dc9958199f96b610d8c02e8633a851919
parent7bdf73b1ddb7249907be5500b35f0b91490e1893 (diff)
downloadtangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar.gz
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar.bz2
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar.lz
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar.xz
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.tar.zst
tangerine-wallet-browser-d5b0d8af4f4907398154449239465efba601eb4d.zip
Version 3.10.8 - Fix Currency Conversionv3.10.8
In our conversion to the new Infura API, somehow we were sending upper-cased conversions to their lower-case sensitive API. Fixes the first part of #2240
-rw-r--r--CHANGELOG.md4
-rw-r--r--app/manifest.json2
-rw-r--r--app/scripts/controllers/currency.js2
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8c39bbc1a..e635f6158 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## Current Master
+## 3.10.8 2017-9-28
+
+- Fixed usage of new currency fetching API.
+
## 3.10.7 2017-9-28
- Fixed bug where sometimes the current account was not correctly set and exposed to web apps.
diff --git a/app/manifest.json b/app/manifest.json
index 146b27f89..e71018211 100644
--- a/app/manifest.json
+++ b/app/manifest.json
@@ -1,7 +1,7 @@
{
"name": "MetaMask",
"short_name": "Metamask",
- "version": "3.10.7",
+ "version": "3.10.8",
"manifest_version": 2,
"author": "https://metamask.io",
"description": "Ethereum Browser Extension",
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))