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

Allow suggesting same words multiple times when typing recovery words #4106

Merged
merged 1 commit into from Aug 7, 2020

Conversation

yahiheb
Copy link
Collaborator

@yahiheb yahiheb commented Aug 3, 2020

Fixes #4105

Capture

Copy link
Member

@MaxHillebrand MaxHillebrand left a comment

Choose a reason for hiding this comment

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

as discussed in #4105, cACK.
also, tACK.

@kiminuo
Copy link
Collaborator

kiminuo commented Aug 4, 2020

LGTM.

Copy link
Collaborator

@lontivero lontivero left a comment

Choose a reason for hiding this comment

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

This PR assumes it is good to suggest already-used words because the mnemonic can contain duplicated words.
The previous implementation assumes that, given randomly generated mnemonics do not contain duplicated words in most of the cases, then it makes no sense to suggest already-used words.
IMO both are okay, it is just a matter of assumptions.

@lontivero lontivero merged commit 9f0b490 into zkSNACKs:master Aug 7, 2020
@yahiheb yahiheb deleted the recovery-words-suggestion branch August 7, 2020 19:04
@yahiheb
Copy link
Collaborator Author

yahiheb commented Jan 26, 2022

@molnard Should we backport this one?

@molnard
Copy link
Collaborator

molnard commented Jan 27, 2022

No this is a nuance. Go for 2.0.

@yahiheb yahiheb mentioned this pull request Feb 24, 2022
@molnard molnard added this to Backlog in Backport v1.1.13.1 via automation Feb 28, 2022
@molnard molnard moved this from Backlog to Done in Backport v1.1.13.1 Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Suggested words when typing recovery words
5 participants