Skip to content

Commit

Permalink
fix: show updateTokenRates warning in function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdwm committed Dec 7, 2023
1 parent 4a0e040 commit ed96e53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/extension/src/core/domains/tokenRates/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export class TokenRatesStore {
}
}

// warning : make sure the tokens list only includes enabled tokens
/**
* WARNING: Make sure the tokens list `tokens` only includes enabled tokens.
*/
private async updateTokenRates(tokens: TokenList): Promise<void> {
const now = Date.now()
const strTokenIds = Object.keys(tokens ?? {}).join(",")
Expand Down

0 comments on commit ed96e53

Please sign in to comment.