1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00

Fixes an issue where metamask popup is not loading on eth_accounts (#13840)

(first time).

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
This commit is contained in:
Olusegun Akintayo 2022-03-07 19:09:03 +04:00 committed by GitHub
parent 82382c35e3
commit 7ecb37ddf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ async function requestEthereumAccountsHandler(
// lock state when they were received.
try {
locks.add(origin);
await getUnlockPromise();
await getUnlockPromise(true);
res.result = await getAccounts();
end();
} catch (error) {