Walletwasabi: Suggested words when typing recovery words

Created on 3 Aug 2020  路  7Comments  路  Source: zkSNACKs/WalletWasabi

When recovering a wallet, if you type a word it won't be suggested again.

Capture

debug

All 7 comments

afaik, that's how it is supposed to work. A word can only be in the recovery words ones, not multiple times.

But I might have a wrong intuition here...

ping @lontivero

Work as designed. It has to suggest no more than 7 unused words. Those already used has to be removed from the suggestions list.

afaik, that's how it is supposed to work. A word can only be in the recovery words ones, not multiple times.

No you can have the same word multiple times in the recovery words.

Those already used has to be removed from the suggestions list.

@lontivero I am talking about the suggestions for the recovery words, you can have a seedphrase that duplicate words.

I am talking about the suggestions for the recovery words, you can have a seedphrase that duplicate words.

@yahiheb are you sure? [I'm not...]

Can you please link to a reference?

https://github.com/trezor/python-mnemonic - this is a reference implementation of BIP039.

One can also look at the issue from the other point of view - checking of the mnemonic: https://github.com/trezor/python-mnemonic/blob/ad06157e21fc2c2145c726efbfdcf69df1350061/mnemonic/mnemonic.py#L199 This function just seems to check checksum.

Not an expert, but this indicates that words can repeat in a mnemonic.

Also, it actually makes more sense with the possibility of repeated words because it implies larger number of possible values.

Thanks @kiminuo for the archeology!

The explanations make sense, and I get the intuition why words can repeat.

concept ACK for the fix of #4106.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

the-metalworker picture the-metalworker  路  3Comments

2pac1 picture 2pac1  路  3Comments

yahiheb picture yahiheb  路  3Comments

UkolovaOlga picture UkolovaOlga  路  3Comments

nopara73 picture nopara73  路  3Comments