Skip to content

[assets-controllers] TokenDetectionController uses the wrong token list #3905

@Gudahtt

Description

@Gudahtt

The TokenDetectionController will always use the token list for the current globally selected network, even when detecting tokens on a different network. Effectively it won't work when polling non-selected networks.

We should update the controller to use the token list for the network we're detecting tokens on.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions