Uh oh!
There was an error while loading. Please reload this page.
Use async/await instead of then - #148
Conversation
mcmire
left a comment
There was a problem hiding this comment.
Good idea! Had some suggestions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -692,35 +660,35 @@ class KeyringController extends EventEmitter { | |||
| * @param {string} address - An account address. | |||
There was a problem hiding this comment.
Nit: There is a .then a few lines up from here in getAccounts that we can remove as well
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
A new vault should be unlocked after being created, because the password is submitted as part of creating the vault. This was accidentally broken as part of #148. A unit test has been added to ensure this doesn't happen again.
A new vault should be unlocked after being created, because the password is submitted as part of creating the vault. This was accidentally broken as part of #148. A unit test has been added to ensure this doesn't happen again.
Much easier to read than the mess of
then's.