Verification progress instead of download. Fixes #182

This commit is contained in:
Aditya Kulkarni
2019-09-16 10:40:09 -07:00
parent 43f50af4eb
commit 390ea6b505

View File

@@ -643,9 +643,6 @@ void RPC::getInfoThenRefresh(bool force) {
QString txt = QString::number(blockNumber);
if (estimatedheight > 0) {
txt = txt % " / ~" % QString::number(estimatedheight);
// If estimated height is available, then use the download blocks
// as the progress instead of verification progress.
progress = (double)blockNumber / (double)estimatedheight;
}
txt = txt % " ( " % QString::number(progress * 100, 'f', 2) % "% )";
ui->blockheight->setText(txt);