metamask-extension
metamask-extension copied to clipboard
[Bug]: SRPs are not coming in ordered with discoverAccounts method
Describe the bug
SRPs are coming in unordered when discoveredAccounts is triggered. This leads to SRP pills + accounts being placed all throughout the list in no coherent manner.
Expected behavior
Accounts should be ordered sequentially with SRP
Screenshots/Recordings
Steps to reproduce
- Open fresh MM
- Import random SRP that won’t trigger discoverAccounts. Notice that SRPs are ordered
- Import an SRP where SRP will trigger discoverAccounts
Message for sample SRP if needed
Error messages or log output
Detection stage
In production (default)
Version
12.18
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
Jira ticket https://consensyssoftware.atlassian.net/jira/software/projects/MMMULTISRP/boards/721?selectedIssue=MMMULTISRP-207
Severity
No response