aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2015-06-30 21:39:49 +0200
committerJorge Timón <jtimon@jtimon.cc>2015-10-20 14:22:44 +0200
commitf3525e24e3a156eaa004ca28a59fe2d449dc1f9e (patch)
tree6fceee33ff5c9efff9e97ea0045f4726239714b0 /src/test/test_bitcoin.h
parent49793fbb097e9f00149a054adeddad07f0444c12 (diff)
Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir)
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r--src/test/test_bitcoin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h
index b9314d0611..0bab4b6831 100644
--- a/src/test/test_bitcoin.h
+++ b/src/test/test_bitcoin.h
@@ -12,7 +12,7 @@
* This just configures logging and chain parameters.
*/
struct BasicTestingSetup {
- BasicTestingSetup(CBaseChainParams::Network network = CBaseChainParams::MAIN);
+ BasicTestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
~BasicTestingSetup();
};
@@ -25,7 +25,7 @@ struct TestingSetup: public BasicTestingSetup {
boost::filesystem::path pathTemp;
boost::thread_group threadGroup;
- TestingSetup(CBaseChainParams::Network network = CBaseChainParams::MAIN);
+ TestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
~TestingSetup();
};