MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
293 stars 188 forks source link

fix detect tokens on account switch #4957

Closed salimtb closed 20 hours ago

salimtb commented 1 day ago

Explanation

Currently, the TokenDetectionController detects tokens only for the active network when switching accounts. This behavior does not account for the added networks in the NetworkController. Consequently, token detection is limited and does not cover all networks where the user might have assets.

References

Changelog

@metamask/assets-controllers

Checklist