Skip to content

Commit

Permalink
Merge pull request #528 from shapeshift/metamask_experimental_api_fix
Browse files Browse the repository at this point in the history
fix: correct metamask experimental API accessor
  • Loading branch information
0xdef1cafe authored May 11, 2022
2 parents ae5e2ce + 613ea01 commit 63fbfaa
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

1 comment on commit 63fbfaa

@vercel
Copy link

@vercel vercel bot commented on 63fbfaa May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hdwallet – ./

hdwallet-git-master-shapeshift.vercel.app
hdwallet-shapeshift.vercel.app

Please sign in to comment.