Skip to content

Commit

Permalink
removed typo from removePreferencesForChain func of intenralEthtereum…
Browse files Browse the repository at this point in the history
…ProviderService class
  • Loading branch information
EggsyOnCode committed Dec 7, 2023
1 parent c2f21bf commit 9c5f02c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion background/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,7 @@ export default class Main extends BaseService<never> {

async removeEVMNetwork(chainID: string): Promise<void> {
// Per origin chain id settings
await this.internalEthereumProviderService.removePrefererencesForChain(
await this.internalEthereumProviderService.removePreferencesForChain(
chainID,
)
// Connected dApps
Expand Down
2 changes: 1 addition & 1 deletion background/services/internal-ethereum-provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export default class InternalEthereumProviderService extends BaseService<Events>
return currentNetwork
}

async removePrefererencesForChain(chainId: string): Promise<void> {
async removePreferencesForChain(chainId: string): Promise<void> {
await this.db.removeStoredPreferencesForChain(chainId)
}

Expand Down

0 comments on commit 9c5f02c

Please sign in to comment.