-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix ledger unlocking using hdPath in accountDetails #146
Conversation
@@ -133,8 +133,10 @@ class LedgerBridgeKeyring extends EventEmitter { | |||
}, | |||
({ success, payload }) => { | |||
if (success) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add a unit test for each of the true and false cases for updateHdk
? (Or update existing tests of methods that call unlock
to ensure that they would fail without this change)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep I added test cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Only request is to add/modify at least one
from QA side - working fine @jpuri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks and works good to me
Fixes: MetaMask/metamask-extension#6012