aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 125cb91017..30b4fe7235 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -39,6 +39,11 @@ void ClientModel::update()
emit numBlocksChanged(getNumBlocks());
}
+bool ClientModel::isTestNet() const
+{
+ return fTestNet;
+}
+
bool ClientModel::inInitialBlockDownload() const
{
return IsInitialBlockDownload();