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

feature/default_network_editable
Thomas Huang 6 years ago committed by Dan Finlay
parent eaca9d21e6
commit 3bd3e640b4
  1. 2
      app/scripts/controllers/token-rates.js

@ -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]

Loading…
Cancel
Save