mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
Get rid of TestNet()
This commit is contained in:
@@ -120,9 +120,4 @@ void SelectParams(CChainParams::Network network);
|
||||
*/
|
||||
bool SelectParamsFromCommandLine();
|
||||
|
||||
inline bool TestNet() {
|
||||
// Note: it's deliberate that this returns "false" for regression test mode.
|
||||
return Params().NetworkID() == CChainParams::TESTNET;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user