-
Notifications
You must be signed in to change notification settings - Fork 135
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
Lifecycle Error: Error recovering wallet seed #586
Comments
@bladedoyle We should probably just accept a minimum mnemonic_length = 16 when someone calls create_wallet otherwise we returns an errors. It's a non-sense to "create" a wallet with mnemonic_length = 0 |
From the documentation on
From this, it seems using |
After thinking this over some more, I don't think this should be changed. It makes sense to leave advanced features like this (generating a wallet that cannot export a mnemonic) in the API. I would feel differently if this was an option in the CLI intended to be consumed by less technical users, but its not. The API is inherently a feature-rich advanced toolset, and I think this feature (although quirky) is fine to stay there. Just my $0.02 |
Describe the bug
I get this error when trying to get the recovery seed phrase for a wallet.
To Reproduce
This wallet was created using the wallets owner_api "create_wallet" call using the following parameters:
{"password": "supersecret", "name": null, "mnemonic": null, "mnemonic_length": 0}
The create_wallet call returns success and the wallet appears to work. I can scan it, and get "info", etc.
Getting the recovery phrase fails with:
Expected behavior
A recovery phrase should be returned and no error
Additional context
This is the seed in case it helps. Password is supersecret
Note: If I provide a valid "mnemonic" when calling create_wallet then the "grin-wallet recover" command works as expected.
The text was updated successfully, but these errors were encountered: