From d554b1daa2550b550f4d31638bd7150c788ecf6e Mon Sep 17 00:00:00 2001 From: kvhnuke <10602065+kvhnuke@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:35:58 -0800 Subject: [PATCH] devop: dont fail on maintenance --- packages/extension/src/libs/market-data/index.ts | 3 ++- packages/extension/src/providers/ethereum/networks/aa.ts | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/extension/src/libs/market-data/index.ts b/packages/extension/src/libs/market-data/index.ts index 1a53a0820..4d94ae3e3 100644 --- a/packages/extension/src/libs/market-data/index.ts +++ b/packages/extension/src/libs/market-data/index.ts @@ -131,7 +131,8 @@ class MarketData { tokens[token.fiat_currency] = token; }); return tokens; - }); + }) + .catch(() => ({} as Record)); await this.#setFiatExchangeRates(fiatMarketData); await this.#setLastTimestamp(new Date().getTime()); } diff --git a/packages/extension/src/providers/ethereum/networks/aa.ts b/packages/extension/src/providers/ethereum/networks/aa.ts index 4f0dd16dd..c13e77e0d 100644 --- a/packages/extension/src/providers/ethereum/networks/aa.ts +++ b/packages/extension/src/providers/ethereum/networks/aa.ts @@ -2,7 +2,6 @@ import { NetworkNames } from "@enkryptcom/types"; import { EvmNetwork, EvmNetworkOptions } from "../types/evm-network"; import { EtherscanActivity } from "../libs/activity-handlers"; import wrapActivityHandler from "@/libs/activity-state/wrap-activity-handler"; -import assetsInfoHandler from "@/providers/ethereum/libs/assets-handlers/assetinfo-mew"; const artheraOptions: EvmNetworkOptions = { name: NetworkNames.Arthera,