Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
This repository was 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

@cryptoBeliever

Description

@cryptoBeliever

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions