Skip to content

Commit

Permalink
[detectTokens] Falls back to class field networkClientId if it's no…
Browse files Browse the repository at this point in the history
…t provided as argument
  • Loading branch information
MajorLift committed Feb 20, 2024
1 parent ebe3c14 commit 035ced3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ export class TokenDetectionController extends StaticIntervalPollingController<
const { tokensChainsCache } = this.messagingSystem.call(
'TokenListController:getState',
);

const tokenList = isTokenDetectionInactiveInMainnet
? STATIC_MAINNET_TOKEN_LIST
: tokensChainsCache[chainIdAgainstWhichToDetect]?.data ?? {};
Expand Down

0 comments on commit 035ced3

Please sign in to comment.