clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks...
[novacoin.git] / src / qt / clientmodel.cpp
index 08abaa6..2ed3ce5 100644 (file)
@@ -67,9 +67,9 @@ bool ClientModel::inInitialBlockDownload() const
     return IsInitialBlockDownload();
 }
 
-int ClientModel::getTotalBlocksEstimate() const
+int ClientModel::getNumBlocksOfPeers() const
 {
-    return GetMaxBlocksOfOtherNodes();
+    return GetNumBlocksOfPeers();
 }
 
 OptionsModel *ClientModel::getOptionsModel()