1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Set auto conversion off for token/eth conversion (#6005)

This commit is contained in:
Thomas Huang 2019-01-10 10:36:30 -08:00 committed by Dan Finlay
parent eaca9d21e6
commit 3bd3e640b4

View File

@ -33,7 +33,7 @@ class TokenRatesController {
const query = pairs.join('&')
if (this._tokens.length > 0) {
try {
const response = await fetch(`https://exchanges.balanc3.net/pie?${query}&autoConversion=true`)
const response = await fetch(`https://exchanges.balanc3.net/pie?${query}&autoConversion=false`)
const { prices = [] } = await response.json()
prices.forEach(({ pair, price }) => {
const address = pair.split('/')[0]