tendermint/flutter

Issue confirming seed phrase with duplicate words

CodeMuhammed opened this issue · 0 comments

Desription
When creating a new account, UI does not work correctly when the generated seed phrase contains duplicate words

example

'piece', 'make', 'antenna', 'require', 'knife', 'man',
'version', 'dry', 'school', 'window', 'ecology', 'dad',
'rich', 'drop', 'pony', 'dust', 'vacuum', 'unknown',
'lawsuit', 'keen', 'pause', 'dry', 'venue', 'ivory'"

To Reproduce

  1. Create a new account
  2. Generate a new seed phrase
  3. If the seed phrase contains duplicate words, click on the word.

Screenshot 2022-05-31 at 15 30 12

Screenshot 2022-05-31 at 15 30 19

Expected behavior

Each word should be unique irrespective of duplicates