mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 04:54:30 +00:00
Do not show green tick unless all known blocks are downloaded (fixes #921)
This commit is contained in:
parent
6b8e7eefcc
commit
b970067298
@ -552,7 +552,7 @@ void BitcoinGUI::setNumBlocks(int count)
|
||||
}
|
||||
|
||||
// Set icon state: spinning if catching up, tick otherwise
|
||||
if(secs < 90*60)
|
||||
if(secs < 90*60 && count >= nTotalBlocks)
|
||||
{
|
||||
tooltip = tr("Up to date") + QString(".\n") + tooltip;
|
||||
labelBlocksIcon->setPixmap(QIcon(":/icons/synced").pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE));
|
||||
|
Loading…
x
Reference in New Issue
Block a user