diff options
| author | Pieter Wuille <[email protected]> | 2013-06-22 06:56:14 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-06-22 06:56:14 -0700 |
| commit | 01b45731b75a19ac194b4206b20716bfedcb2357 (patch) | |
| tree | 90bd76e552d0ac7b44382885e212d9705fe24d96 /src/qt/clientmodel.cpp | |
| parent | Merge pull request #2781 from sipa/keytimemem (diff) | |
| parent | Introduce a CChainParameters singleton class and regtest mode. (diff) | |
| download | discoin-01b45731b75a19ac194b4206b20716bfedcb2357.tar.xz discoin-01b45731b75a19ac194b4206b20716bfedcb2357.zip | |
Merge pull request #2632 from mikehearn/chainparams
Refactor chain-specific tweaks into a CChainParams class and introduce a regtest mode
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index e8d99a8d4..5cf4dd811 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -5,6 +5,7 @@ #include "addresstablemodel.h" #include "transactiontablemodel.h" +#include "chainparams.h" #include "alert.h" #include "main.h" #include "checkpoints.h" @@ -110,7 +111,7 @@ void ClientModel::updateAlert(const QString &hash, int status) bool ClientModel::isTestNet() const { - return fTestNet; + return TestNet(); } bool ClientModel::inInitialBlockDownload() const |