|
|
@ -1324,8 +1324,8 @@ void MainWindow::importPrivKey() { |
|
|
|
doImport(keysValidated); |
|
|
|
|
|
|
|
if (rescan) { |
|
|
|
//TODO: verify rescanfrom is a valid integer and trim whitespace
|
|
|
|
rpc->rescan(pui.rescanfrom->text().toInt() , [=] (QJsonValue response){ |
|
|
|
//TODO: verify rescanfrom is a valid integer
|
|
|
|
rpc->rescan(pui.rescanfrom->text().trimmed().toInt() , [=] (QJsonValue response){ |
|
|
|
qDebug() << __func__ << ":rescanning from height " << pui.rescanfrom->text().toInt() << " finished" << response; |
|
|
|
ui->statusBar->showMessage(tr("Rescanning finished"), 5000); |
|
|
|
}); |
|
|
|