This PR improves Metamask's locked state detection by manually checking for the experimental isUnlocked value, as well as trying to access the accounts, in a sort of double blind test.
This change was made to overcome the isUnlocked to refresh it's returned value instantly. It needs a page refresh until it shows the new (unlocked) state.
This PR improves Metamask's locked state detection by manually checking for the experimental
isUnlocked
value, as well as trying to access the accounts, in a sort of double blind test.This change was made to overcome the
isUnlocked
to refresh it's returned value instantly. It needs a page refresh until it shows the new (unlocked) state.