-
Notifications
You must be signed in to change notification settings - Fork 43
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
(Feature) Multiple Ledger accounts for one session #237
Conversation
@dennis00010011b does it relate to the current PR only or to |
@vbaranov
Yes, this issue in |
@dennis00010011b I reproduced this issue. Got minor updates regarding hd wallets from upstream If the issue is still reproducible for you:
Let me know, if the issue is still there |
@vbaranov
|
@dennis00010011b I've made downgrade of dependencies related to HD wallets. Could you please test once more? |
@vbaranov |
@dennis00010011b I've tried to repeat this, but have no success. Looks like 1 account imported 13 times. Could you provide the steps to repeat this issue? |
Yes, that's right |
@vbaranov |
@vbaranov
Expected result:
Actual result:
https://www.useloom.com/share/c30774ebc6244bd2afa60ab58e0260de |
@vbaranov |
@vbaranov |
Yes, currently selected HD account is selected in the HD accounts screen. It makes sense in the case of radio buttons when selecting another address will automatically deselect the current one, but in the case of checkboxes, it doesn' make sense. Ok, will remove this behaviour.
Yes, this is intentional. The numeration is pass-through all types of accounts. I am not sure we could fix it without massive reorganization. I will keep it in mind in the future refactoring.
Due to a long connection timeout, connection to HD device/unlocking, it makes sense to move the connection to HD device right before sending tx. Will do. Thanks. |
This issue reproducible again. There is no confirmation request on device's screen when try to send ether from account different that Ledge1 (see video) https://www.useloom.com/share/5fed9bc8b9f44b7a8f44a41207c9d17d |
Fixed 83b90b7
Decided not to move this logic to pending tx page to not make it heavier. I left logic on account change in dropdown but in the background. 56759f2 and 5b7010f |
I cannot reproduce it. Does it still exist for you? |
I cannot reproduce it anymore. |
Problem: In the current version of NW on every unlock of HD account, the previous HD account is removed from the list of accounts.
Solution: This PR makes possible to add multiple HD accounts once from one Ledger in one device session* and work with them until next unlock.
Related changes in Ledger related dependency vbaranov/eth-ledger-bridge-keyring@949e378 and vbaranov/eth-ledger-bridge-keyring@097807e
*if device was forgotten, connecting it again and unlocking still will replace previously unlocked HD accounts
**PR is only for Ledger. Nothing is changed for Trezor: 1 device = 1 account.