Skip to content

Commit

Permalink
chore: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gambinish committed Oct 31, 2024
1 parent 31b15e6 commit 0b7230c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/assets-controllers/src/TokenListController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ export class TokenListController extends StaticIntervalPollingController<TokenLi
}
}

// Eventually we want to remove start/restart/stop controls in favor of new _executePoll API
// Maintaining these functions for now until we can safely deprecate them for backwards compatibility
/**
* Start polling for the token list.
*/
Expand Down Expand Up @@ -304,7 +306,7 @@ export class TokenListController extends StaticIntervalPollingController<TokenLi
);

if (tokensFromAPI) {
// Format tokens from API and update tokenList
// Format tokens from API (HTTP) and update tokenList
tokenList = {};
for (const token of tokensFromAPI) {
tokenList[token.address] = {
Expand Down

0 comments on commit 0b7230c

Please sign in to comment.