diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 16:04:43 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 16:06:14 +0100 |
commit | 59bd89f11636e90b2d684e8f411d8d7a88622458 (patch) | |
tree | 8c01545831dd3ba1701f584adacfbc2a6b992a9b /src/chainparamsbase.cpp | |
parent | 8cbe1f4f5870a165be729cabb9b55dcbf0f85e09 (diff) |
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.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp index c42fd106be..7d82d689ec 100644 --- a/src/chainparamsbase.cpp +++ b/src/chainparamsbase.cpp @@ -82,9 +82,6 @@ void SelectBaseParams(CBaseChainParams::Network network) case CBaseChainParams::REGTEST: pCurrentBaseParams = ®TestParams; break; - case CBaseChainParams::UNITTEST: - pCurrentBaseParams = &unitTestParams; - break; default: assert(false && "Unimplemented network"); return; |