Skip to content

Commit

Permalink
Include disabled tokens when refreshing balances
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Sep 26, 2024
1 parent d982855 commit 8e2b08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/openchat-client/src/openchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6316,7 +6316,7 @@ export class OpenChat extends OpenChatAgentWorker {
private async refreshBalancesInSeries() {
const config = this._liveState.walletConfig;
for (const t of Object.values(get(cryptoLookup))) {
if (t.enabled && (config.kind === "auto_wallet" || config.tokens.has(t.ledger))) {
if (config.kind === "auto_wallet" || config.tokens.has(t.ledger)) {
await this.refreshAccountBalance(t.ledger);
}
}
Expand Down

0 comments on commit 8e2b08f

Please sign in to comment.