Browse Source

Try to prevent #155

no_mining_until_synced
Duke 3 months ago
parent
commit
3a6f632b9b
  1. 3
      src/mainwindow.cpp

3
src/mainwindow.cpp

@ -1320,7 +1320,8 @@ void MainWindow::importPrivKey() {
if (rescan) {
//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;
//DEBUG("rescanning from height " << pui.rescanfrom->text().toInt() << " finished" << response);
DEBUG("rescanning finished" << response);
ui->statusBar->showMessage(tr("Rescanning finished"), 5000);
});
}

Loading…
Cancel
Save