Skip to content

Commit

Permalink
removed typo from removePreferencesForChain func of intenralEthtereue…
Browse files Browse the repository at this point in the history
…mProviderClass (#3691)


Latest build:
[extension-builds-3691](https://github.com/tahowallet/extension/suites/18855273347/artifacts/1108824740)
(as of Tue, 12 Dec 2023 10:50:00 GMT).
  • Loading branch information
jagodarybacka authored Dec 14, 2023
2 parents 99f77e6 + 4450bfd commit e416e29
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 e416e29

Please sign in to comment.