From 7ec775d614b3717a424e6a5576aef90a74e4344d Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 24 Apr 2018 14:12:57 -0700 Subject: Use latest balanc3 api for prices --- app/scripts/controllers/token-rates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/scripts/controllers/token-rates.js') 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) { } -- cgit v1.2.3