Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set autoConversion off for token/eth conversion #6005

Merged
merged 1 commit into from
Jan 10, 2019
Merged

Conversation

tmashuang
Copy link
Contributor

Alternative for #5965.
Closes #5960

On certain tokens (eg FirstBlood, Cypto20) would sometimes return the USD price for ETH pairing. This will turn off the USD price for tokens.

From the Balanc3 team:

Obviously it's worth noting that if you turn autoconversion off then only trades for the actual pair will be displayed which means that some granularity will be lost for the price (edited)
In extreme cases, that means there will not be a price for pair (we do not display prices for the /pie endpoint if the most recent available price is older than 1 day)

@metamaskbot
Copy link
Collaborator

Builds ready [2781a15]: mascara, chrome, firefox, edge, opera

@tmashuang tmashuang changed the title Set auto conversion off for token/eth conversion Set autoConversion off for token/eth conversion Jan 9, 2019
@brunobar79
Copy link
Contributor

@estebanmino Should we change this in GABA too? https://github.com/MetaMask/gaba/blob/a8a797caee8e28396419240620f945d20adc66b4/src/TokenRatesController.ts#L68

cc: @bitpshr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants