mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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
8c9efb2a1f
commit
e7bf63a6d6
@ -72,7 +72,7 @@ async function requestEthereumAccountsHandler(
|
|||||||
// lock state when they were received.
|
// lock state when they were received.
|
||||||
try {
|
try {
|
||||||
locks.add(origin);
|
locks.add(origin);
|
||||||
await getUnlockPromise();
|
await getUnlockPromise(true);
|
||||||
res.result = await getAccounts();
|
res.result = await getAccounts();
|
||||||
end();
|
end();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user