1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02: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 Dan Miller
parent 8c9efb2a1f
commit e7bf63a6d6

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) {