From da58c81285694b3e6f5508265f22698ed151483f Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 27 Feb 2026 11:38:40 -0800 Subject: [PATCH] L3: isUnlocked() returns false when no active connection Previously always returned true. Now returns true only when the site has been approved via eth_requestAccounts (selectedAddress is set). --- 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); }, }, };