Show syncing progress at startup

This commit is contained in:
Aditya Kulkarni
2019-10-24 19:16:37 -07:00
parent c3fcdcb4c5
commit 2fabc1ec8d
7 changed files with 78 additions and 36 deletions

View File

@@ -127,7 +127,7 @@ RestoreSeedPage::RestoreSeedPage(FirstTimeWizard *parent) : QWizardPage(parent)
bool RestoreSeedPage::validatePage() {
// 1. Validate that we do have 24 words
QString seed = form.txtSeed->toPlainText().replace(QRegExp("[ \n\r]+"), " ");
QString seed = form.txtSeed->toPlainText().replace(QRegExp("[ \n\r\t]+"), " ");
if (seed.trimmed().split(" ").length() != 24) {
QMessageBox::warning(this, tr("Failed to restore wallet"),
tr("Zecwallet needs 24 words to restore wallet"),