From: tobtoht Date: Tue, 24 May 2022 07:48:23 +0000 (+0200) Subject: Wizard: don't add erasure word for polyseed X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=6ed98e5dabd47dede65897312df7d42c494366fd;p=gamesguru%2Ffeather.git Wizard: don't add erasure word for polyseed --- diff --git a/src/wizard/PageWalletRestoreSeed.cpp b/src/wizard/PageWalletRestoreSeed.cpp index ab9eddfb..e4c752a9 100644 --- a/src/wizard/PageWalletRestoreSeed.cpp +++ b/src/wizard/PageWalletRestoreSeed.cpp @@ -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);