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:
parent
82382c35e3
commit
7ecb37ddf2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user