mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Wizard: don't add erasure word for polyseed
This commit is contained in:
parent
7fb9b4c31e
commit
6ed98e5dab
1 changed files with 4 additions and 3 deletions
|
@ -37,13 +37,14 @@ PageWalletRestoreSeed::PageWalletRestoreSeed(WizardFields *fields, QWidget *pare
|
|||
QStringList bip39English;
|
||||
for (int i = 0; i != 2048; i++)
|
||||
bip39English << QString::fromStdString(wordlist::english.get_word(i));
|
||||
// Restore has limited error correction capability, namely it can correct a single erasure
|
||||
// (illegible word with a known location). This can be tested by replacing a word with xxxx
|
||||
bip39English << "xxxx";
|
||||
|
||||
m_polyseed.length = 16;
|
||||
m_polyseed.setWords(bip39English);
|
||||
|
||||
// Restore has limited error correction capability, namely it can correct a single erasure
|
||||
// (illegible word with a known location). This can be tested by replacing a word with xxxx
|
||||
bip39English << "xxxx";
|
||||
|
||||
m_tevador.length = 14;
|
||||
m_tevador.setWords(bip39English);
|
||||
|
||||
|
|
Loading…
Reference in a new issue