diff --git a/src/actions/ExchangeRateActions.ts b/src/actions/ExchangeRateActions.ts index 0a6016cf9c6..f22500b0f29 100644 --- a/src/actions/ExchangeRateActions.ts +++ b/src/actions/ExchangeRateActions.ts @@ -54,6 +54,7 @@ async function buildExchangeRates(state: RootState): Promise { exchangeRates.push({ currency_pair: `iso:USD_${walletIsoFiat}` }) } for (const tokenId of wallet.enabledTokenIds) { + if (wallet.currencyConfig.allTokens[tokenId] == null) continue const { currencyCode: tokenCode } = wallet.currencyConfig.allTokens[tokenId] if (tokenCode !== currencyCode) { exchangeRates.push({ currency_pair: `${tokenCode}_${walletIsoFiat}` })