diff --git a/packages/hdwallet-metamask/src/metamask.ts b/packages/hdwallet-metamask/src/metamask.ts index 44c4f87d0..f4b1ac736 100644 --- a/packages/hdwallet-metamask/src/metamask.ts +++ b/packages/hdwallet-metamask/src/metamask.ts @@ -132,7 +132,7 @@ export class MetaMaskHDWallet implements core.HDWallet, core.ETHWallet { } public async isLocked(): Promise { - return !this.provider.metamask.isUnlocked(); + return !this.provider._metamask.isUnlocked(); } public getVendor(): string {