Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TruffleProvider (HDNode) wallet inadvertently generates a new account/address accompanied with a random private key and mnemonic #86

Open
polymorpher opened this issue Apr 18, 2021 · 0 comments

Comments

@polymorpher
Copy link
Contributor

Fixed by #84

The original code in the constructor of HDNode calls this.getHdWallet(...) with randomly generated mnemonic if none is supplied. This generates a new account in the process. This is undesirable when private keys are later added to the HDNode to associate accounts, causing confusion on choosing the right signer / making account operations.

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

No branches or pull requests

1 participant