diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-09-11 10:49:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-09-11 10:49:30 +0200 |
commit | d33cc2b5e3779033502fedc3f17aeffb4fa8e01c (patch) | |
tree | d168a58d875ec0b3df29fcc6d3691492e046a30a /src/qt/bitcoingui.cpp | |
parent | 78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 (diff) |
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 7943684eef..b51fd729cb 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -346,7 +346,7 @@ void BitcoinGUI::setNumConnections(int count) void BitcoinGUI::setNumBlocks(int count) { int initTotal = clientModel->getNumBlocksAtStartup(); - int total = clientModel->getTotalBlocksEstimate(); + int total = clientModel->getNumBlocksOfPeers(); QString tooltip; if(count < total) |