diff --git a/src/store/wallet/effects/status/status.ts b/src/store/wallet/effects/status/status.ts index 8cfb9849d..33b4719a0 100644 --- a/src/store/wallet/effects/status/status.ts +++ b/src/store/wallet/effects/status/status.ts @@ -321,13 +321,26 @@ export const startUpdateAllWalletStatusForKeys = wallets: walletOptions, }, (err: Error, bulkStatus: BulkStatus[]) => { - if (err) { - console.log(err); - } - const balances = key.wallets.map(wallet => { const {balance: cachedBalance} = wallet; + if (err || !bulkStatus) { + console.log('getStatusAll error', err); + return { + ...cachedBalance, + ...dispatch( + buildFiatBalance({ + wallet, + cryptoBalance: cachedBalance, + defaultAltCurrencyIsoCode: + defaultAltCurrency.isoCode, + rates, + lastDayRates, + }), + ), + }; + } + const {status, success} = bulkStatus.find(bStatus => { if (typeof bStatus.tokenAddress === 'string') {