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

Ensure API create_wallet returns failure when provided with invalid mnemonic seeds #319

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

yeastplume
Copy link
Member

Fixes #292, call to WalletSeed::init_file was swallowing its error and continuing.

Adds explicit tests to exercise create_wallet with both valid and invalid seeds.

@yeastplume yeastplume changed the title Ensure API create_wallet returns failure with invalid mnemonic seeds Ensure API create_wallet returns failure when provided with invalid mnemonic seeds Jan 30, 2020
Copy link
Contributor

@jaspervdm jaspervdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yeastplume
Copy link
Member Author

thanks!

@yeastplume yeastplume merged commit ed5b900 into mimblewimble:master Jan 31, 2020
@yeastplume yeastplume deleted the issue_292 branch March 3, 2020 08:37
antiochp pushed a commit to antiochp/grin-wallet that referenced this pull request Aug 7, 2020
… mnemonic seeds (mimblewimble#319)

* Ensure  returns failure with invalid mnemonic seeds, add tests

* test fixes resulting from change
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 this pull request may close these issues.

owner_api v3 "create_wallet" return "ok" even receive invalid mnemonic seeds.
2 participants