From 9c5f02c89de55c97fea793bbf2e4cc39df90dc7e Mon Sep 17 00:00:00 2001 From: EggsyOnCode Date: Fri, 8 Dec 2023 00:45:53 +0500 Subject: [PATCH] removed typo from removePreferencesForChain func of intenralEthtereumProviderService class --- background/main.ts | 2 +- background/services/internal-ethereum-provider/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/background/main.ts b/background/main.ts index be26f8c40..7c5170963 100644 --- a/background/main.ts +++ b/background/main.ts @@ -1973,7 +1973,7 @@ export default class Main extends BaseService { async removeEVMNetwork(chainID: string): Promise { // Per origin chain id settings - await this.internalEthereumProviderService.removePrefererencesForChain( + await this.internalEthereumProviderService.removePreferencesForChain( chainID, ) // Connected dApps diff --git a/background/services/internal-ethereum-provider/index.ts b/background/services/internal-ethereum-provider/index.ts index 8fb028277..5af289d20 100644 --- a/background/services/internal-ethereum-provider/index.ts +++ b/background/services/internal-ethereum-provider/index.ts @@ -387,7 +387,7 @@ export default class InternalEthereumProviderService extends BaseService return currentNetwork } - async removePrefererencesForChain(chainId: string): Promise { + async removePreferencesForChain(chainId: string): Promise { await this.db.removeStoredPreferencesForChain(chainId) }