Skip to content

Commit

Permalink
Fix progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranz5 committed Nov 11, 2014
1 parent b082fd2 commit b5f2fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks)

QDateTime lastBlockDate = clientModel->getLastBlockDate();
QDateTime currentDate = QDateTime::currentDateTime();
int totalSecs = GetTime() - 1393221600;
int totalSecs = GetTime() - 1374628210;
int secs = lastBlockDate.secsTo(currentDate);

if(count < nTotalBlocks) {
Expand Down

0 comments on commit b5f2fce

Please sign in to comment.