Verification progress instead of download. Fixes #182
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user