mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-03-05 02:26:01 +00:00
Disallow negative progress increase per hour %
See GH#1902.
This commit is contained in:
parent
5389fac4ea
commit
44678e5442
@ -104,7 +104,7 @@ void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVeri
|
||||
}
|
||||
}
|
||||
// show progress increase per hour
|
||||
ui->progressIncreasePerH->setText(QString::number(progressPerHour*100, 'f', 2)+"%");
|
||||
ui->progressIncreasePerH->setText(QString::number(progressPerHour > 0 ? progressPerHour*100 : 0, 'f', 2)+"%");
|
||||
|
||||
// show expected remaining time
|
||||
ui->expectedTimeLeft->setText(GUIUtil::formatNiceTimeOffset(remainingMSecs/1000.0));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user