Closed lightclient closed 1 year ago
Fixes #274.
Before:
$ wagyu ethereum import-hd --mnemonic "candy maple cake sugar pudding cream honey rich smooth crumble sweet treatt" Error: MnemonicError(WordlistError(InvalidWord("candy"))) $ wagyu ethereum import-hd --mnemonic "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" ... success
After:
$ wagyu ethereum import-hd --language "english" --mnemonic "candy maple cake sugar pudding cream honey rich smooth crumble sweet treatt" Error: MnemonicError(WordlistError(InvalidWord("treatt"))) $ wagyu ethereum import-hd --language "english" --mnemonic "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" ... success
Note how much easier it is to track down the error when the correct error for the language is returned!
@howardwu bumping.
@howardwu bump.
Fixes #274.
Before:
After:
Note how much easier it is to track down the error when the correct error for the language is returned!