|
|
@ -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); |
|
|
|