Skip to content

Commit

Permalink
fix: correct metamask experimental API accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed May 10, 2022
1 parent ae5e2ce commit 613ea01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hdwallet-metamask/src/metamask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class MetaMaskHDWallet implements core.HDWallet, core.ETHWallet {
}

public async isLocked(): Promise<boolean> {
return !this.provider.metamask.isUnlocked();
return !this.provider._metamask.isUnlocked();
}

public getVendor(): string {
Expand Down

0 comments on commit 613ea01

Please sign in to comment.