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

ethereum import-hd fails with valid mnemonic #274

Open
lightclient opened this issue Aug 8, 2021 · 1 comment
Open

ethereum import-hd fails with valid mnemonic #274

lightclient opened this issue Aug 8, 2021 · 1 comment

Comments

@lightclient
Copy link

$ ./target/release/wagyu ethereum import-hd --mnemonic "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" --derivation "m/44'/60'/0'/0/0/"
Error: MnemonicError(WordlistError(InvalidWord("candy")))

Not sure why this is not working, this is clearly a valid mnemonic.

@lightclient
Copy link
Author

Okay if I get rid of all mnemonic processors except the English one, I get a different error Error: DerivationPathError(InvalidChildNumberFormat). If I drop the final slash on the derivation path, it returns the correct address.

Looking more into this, it seems like the or chain of mnemonic processors will only return the error from the last processor. This is definitely not what we want, since we get into issues like this where it isn't clear what the error is.

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

Successfully merging a pull request may close this issue.

1 participant