From 6ed98e5dabd47dede65897312df7d42c494366fd Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 24 May 2022 09:48:23 +0200 Subject: [PATCH] Wizard: don't add erasure word for polyseed --- src/wizard/PageWalletRestoreSeed.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.52.0