Browse Source

Verification progress instead of download. Fixes #182

import_zecw
Aditya Kulkarni 5 years ago
parent
commit
390ea6b505
  1. 3
      src/rpc.cpp

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

Loading…
Cancel
Save