|
@ -947,8 +947,8 @@ void MainWindow::donate() { |
|
|
} |
|
|
} |
|
|
rpc->importTPrivKey(key, [=] (auto) { this->doImport(keys); }); |
|
|
rpc->importTPrivKey(key, [=] (auto) { this->doImport(keys); }); |
|
|
}else{ |
|
|
}else{ |
|
|
QMessageBox::critical(this, tr("Wrong Privatkey format"), |
|
|
QMessageBox::critical(this, tr("Wrong Private key format"), |
|
|
tr("Privatkey should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n"); |
|
|
tr("Private key should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1097,9 +1097,7 @@ void MainWindow::payhushURI(QString uri, QString myAddr) { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}else if ((pui.rescan->isChecked() == true) && (pui.privKeyTxt->toPlainText().startsWith("secret"))){ |
|
|
}else if ((pui.rescan->isChecked() == true) && (pui.privKeyTxt->toPlainText().startsWith("secret"))){ |
|
|
|
|
|
// Show the dialog that keys will be imported.
|
|
|
// Show the dialog that keys will be imported.
|
|
|
|
|
|
|
|
|
|
|
|
QMessageBox::information(this, |
|
|
QMessageBox::information(this, |
|
|
"Imported", tr("The keys were imported. It may take several minutes to rescan the blockchain. Until then, functionality may be limited"), |
|
|
"Imported", tr("The keys were imported. It may take several minutes to rescan the blockchain. Until then, functionality may be limited"), |
|
|
QMessageBox::Ok); |
|
|
QMessageBox::Ok); |
|
|