From 390ea6b50542c6baf7bb557fcd4cb36d66806d4a Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 16 Sep 2019 10:40:09 -0700 Subject: [PATCH] Verification progress instead of download. Fixes #182 --- src/rpc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index cdf992c..7c9b9ce 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -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);