We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 709e4d7 commit 07d9fc5Copy full SHA for 07d9fc5
app/scripts/metamask-controller.js
@@ -7151,7 +7151,11 @@ export default class MetamaskController extends EventEmitter {
7151
return !isUnlocked;
7152
},
7153
getIsActive: () => {
7154
- return this._isClientOpen;
+ const { isUnlocked } = this.controllerMessenger.call(
7155
+ 'KeyringController:getState',
7156
+ );
7157
+
7158
+ return this._isClientOpen && isUnlocked;
7159
7160
getInterfaceState: (...args) =>
7161
this.controllerMessenger.call(
0 commit comments