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>
feature/default_network_editable
Olusegun Akintayo 3 years ago committed by Dan Miller
parent 8c9efb2a1f
commit e7bf63a6d6
  1. 2
      app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js

@ -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…
Cancel
Save