Skip to content

[Bug]: Imported wallet does not load accounts following an account with 0 balance #21901

Open
@digiwand

Description

@digiwand

Describe the bug

When importing a wallet, it is expected that we load all accounts with balances that were generated with that SRP. It's been reported there is a bug that stops loading remaining accounts when an account with 0 balance is found.

Expected behavior

When importing a wallet, accounts with balances should load.

Screenshots/Recordings

No response

Steps to reproduce

Have a MetaMask account with multiple accounts and funds. In the middle of these accounts, one of these accounts should have a balance of 0 ETH.

Import the wallet in a new instance.

Observe accounts are loaded until the account with 0 funds is provided

Error messages or log output

No response

Version

?

Build type

Other (please specify exactly where you obtained this build in "Additional Context" section)

Browser

Other (please elaborate in the "Additional Context" section)

Operating system

Other (please elaborate in the "Additional Context" section)

Hardware wallet

Other (please elaborate in the "Additional Context" section)

Additional context

build specs not available at this time

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions