aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-06-28 23:36:06 +0200
committerjtimon <jtimon@monetize.io>2014-07-07 10:20:28 +0200
commit209377a7cb5a9ea5d724faf94846ee5bacd289e7 (patch)
tree41a311498d0758dfb108bc5d03037e5b08bb654f /src/qt/clientmodel.cpp
parent6654a87e7b2bd5d1d4a5c0af70d0468dfde300a9 (diff)
Use GetBlockTime() more
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 9c9565be67..4c21eb5594 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -85,7 +85,7 @@ QDateTime ClientModel::getLastBlockDate() const
if (chainActive.Tip())
return QDateTime::fromTime_t(chainActive.Tip()->GetBlockTime());
else
- return QDateTime::fromTime_t(Params().GenesisBlock().nTime); // Genesis block's time of current network
+ return QDateTime::fromTime_t(Params().GenesisBlock().GetBlockTime()); // Genesis block's time of current network
}
double ClientModel::getVerificationProgress() const