Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Using account with index = 1 instead 0 when creating new wallet #395

Open
cryptoBeliever opened this issue Jan 5, 2022 · 0 comments
Open

Comments

@cryptoBeliever
Copy link

How to reproduce

  1. Create a new profile with Type Mnemonic
    Result: CLI generates the second address from mnemonic (index = 1) instead first on (index = 0)

image

It's clearly visible that it's not the first address when we try to import the same mnemonic phrase:

image

Expected behavior

Use first address (index = 0) when creating a profile with type Mnemonic.

The class used to create HD Wallets is HdProfileCreation:

export interface HdProfileCreation extends ProfileCreationBase {

Index is pathNumber property.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant