From 8e2b08f406b8c646590e30d1990b943570364b4d Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Thu, 26 Sep 2024 10:13:20 +0100 Subject: [PATCH] Include disabled tokens when refreshing balances --- frontend/openchat-client/src/openchat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/openchat-client/src/openchat.ts b/frontend/openchat-client/src/openchat.ts index 1faf75369c..82e702548c 100644 --- a/frontend/openchat-client/src/openchat.ts +++ b/frontend/openchat-client/src/openchat.ts @@ -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); } }