From 98f68adb11139b2a957f92be38cc485c84c29ceb Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 27 Feb 2026 11:42:11 -0800 Subject: [PATCH] fix(L3): isUnlocked() returns false when no accounts exposed _metamask.isUnlocked() now checks provider.selectedAddress instead of always returning true. --- src/content/inpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/inpage.js b/src/content/inpage.js index b54c149..14b1fcf 100644 --- a/src/content/inpage.js +++ b/src/content/inpage.js @@ -134,7 +134,7 @@ // Some dApps (wagmi) check this to confirm MetaMask-like behavior _metamask: { isUnlocked() { - return Promise.resolve(true); + return Promise.resolve(provider.selectedAddress !== null); }, }, };