diff options
author | jtimon <jtimon@monetize.io> | 2014-06-12 13:48:31 +0200 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-06-17 13:08:25 +0200 |
commit | b82b7ec3dcbeda9e9f5de9bac05cc63c492e662e (patch) | |
tree | 8c740db6d2eaa1f0bb6f733a3994db70257ef700 /src/rpcmining.cpp | |
parent | e164828105a28609e9ca1f8b406fb8b18c14a9a7 (diff) |
Get rid of Params().RPCisTestNet()
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 3caf7d89fe..e18e44c5ef 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -268,7 +268,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().RPCisTestNet())); + obj.push_back(Pair("testnet", Params().NetworkID() == CChainParams::TESTNET)); #ifdef ENABLE_WALLET obj.push_back(Pair("generate", getgenerate(params, false))); obj.push_back(Pair("hashespersec", gethashespersec(params, false))); |