metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: SRPs are not coming in ordered with discoverAccounts method

Open DostoevskysPiano opened this issue 1 year ago • 0 comments

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

Image

Steps to reproduce

  1. Open fresh MM
  2. Import random SRP that won’t trigger discoverAccounts. Notice that SRPs are ordered
  3. 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

DostoevskysPiano avatar May 08 '25 01:05 DostoevskysPiano