diff options
author | jtimon <jtimon@blockstream.io> | 2014-08-31 22:32:52 +0200 |
---|---|---|
committer | jtimon <jtimon@blockstream.io> | 2014-10-10 11:01:00 +0200 |
commit | cc972107997122cb31f015b4e70f81781dbce784 (patch) | |
tree | fa8a7ab017f33df0ca599c0ca6dd0281e62574bb /src/rpcmining.cpp | |
parent | e11712df7ea5e946c5ec008d1c761187b495f872 (diff) |
Add fTestnetToBeDeprecatedFieldRPC to CChainParams
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r-- | src/rpcmining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index e794bf69e0..c767835a27 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -239,7 +239,7 @@ Value getmininginfo(const Array& params, bool fHelp) obj.push_back(Pair("genproclimit", (int)GetArg("-genproclimit", -1))); obj.push_back(Pair("networkhashps", getnetworkhashps(params, false))); obj.push_back(Pair("pooledtx", (uint64_t)mempool.size())); - obj.push_back(Pair("testnet", Params().NetworkID() == CBaseChainParams::TESTNET)); + obj.push_back(Pair("testnet", Params().TestnetToBeDeprecatedFieldRPC())); obj.push_back(Pair("chain", Params().NetworkIDString())); #ifdef ENABLE_WALLET obj.push_back(Pair("generate", getgenerate(params, false))); |