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

fix: fix market data of assets controller if no data #4361

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

salimtb
Copy link
Contributor

@salimtb salimtb commented Jun 3, 2024

Explanation

fix the case if market data are not available for given token.

References

Changelog

@metamask/assets-controller

  • : catch the case when data are not available for given token

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@salimtb salimtb requested a review from a team as a code owner June 3, 2024 13:23
@salimtb salimtb force-pushed the fix-assets-controller-market-data branch from 99d2117 to 790c11b Compare June 3, 2024 13:30
@bergeron
Copy link
Contributor

bergeron commented Jun 3, 2024

Great catch. Reproduced this for tokens without prices.

Screenshot 2024-06-03 at 7 52 55 AM

@salimtb salimtb merged commit 076a657 into main Jun 3, 2024
113 checks passed
@salimtb salimtb deleted the fix-assets-controller-market-data branch June 3, 2024 15:46
bergeron added a commit to MetaMask/metamask-extension that referenced this pull request Jun 3, 2024
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.

2 participants