aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-04-22 18:19:11 -0400
committerCory Fields <cory-nospam-@coryfields.com>2015-04-30 23:14:48 -0400
commit11982d366df0301b8ceb6e9ec5bdc5a713be9ff0 (patch)
treedfa369ef18c30da6225ea06dede31c0c8bd3ff87 /src/qt/clientmodel.cpp
parent699682304f8f81035fed0c8644a364b7b1b25912 (diff)
checkpoints: Decouple checkpoints from Params
Pass checkpoint data in as necessary
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index dc32f81571..8e29cdeb06 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -89,7 +89,7 @@ QDateTime ClientModel::getLastBlockDate() const
double ClientModel::getVerificationProgress() const
{
LOCK(cs_main);
- return Checkpoints::GuessVerificationProgress(chainActive.Tip());
+ return Checkpoints::GuessVerificationProgress(Params().Checkpoints(), chainActive.Tip());
}
void ClientModel::updateTimer()