Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: token detection during account change (#4133)
## Explanation During account change, the token detection trigger was guarded by the `useTokenDetection` setting. But on mainnet, detection should run against the static token list even if the setting is disabled. So remove the guard. ## References MetaMask/metamask-extension#23798 ## Changelog ### `@metamask/assets-controllers` - **FIXED**: Token detection during account change ## 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
- Loading branch information