aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-03-09 16:04:43 +0100
committerWladimir J. van der Laan <[email protected]>2015-03-09 16:06:14 +0100
commit59bd89f11636e90b2d684e8f411d8d7a88622458 (patch)
tree8c01545831dd3ba1701f584adacfbc2a6b992a9b /src/chainparamsbase.cpp
parenttests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE (diff)
downloaddiscoin-59bd89f11636e90b2d684e8f411d8d7a88622458.tar.xz
discoin-59bd89f11636e90b2d684e8f411d8d7a88622458.zip
test: Remove UNITTEST params
UNITTEST parameter are not used by any current tests, and the model (modifyable parameters) is inconvenient when unit-testing. As they are stored in a global structure eevery test would have to (re)set up its own parameters. For consistency it is also better to test with MAIN parameters.
Diffstat (limited to 'src/chainparamsbase.cpp')
-rw-r--r--src/chainparamsbase.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp
index c42fd106b..7d82d689e 100644
--- a/src/chainparamsbase.cpp
+++ b/src/chainparamsbase.cpp
@@ -82,9 +82,6 @@ void SelectBaseParams(CBaseChainParams::Network network)
case CBaseChainParams::REGTEST:
pCurrentBaseParams = &regTestParams;
break;
- case CBaseChainParams::UNITTEST:
- pCurrentBaseParams = &unitTestParams;
- break;
default:
assert(false && "Unimplemented network");
return;