aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorSergioDemianLerner <[email protected]>2014-09-04 16:23:42 -0300
committerWladimir J. van der Laan <[email protected]>2014-10-02 13:51:39 +0200
commitf0fd00cb77d91ec9ac729bc4cf35ff7d9f676d8f (patch)
treea7c6249b856c74dd8600c8244ea9e8331d74eb6c /src/test/test_bitcoin.cpp
parentRevert merge of pull #4845 (diff)
downloaddiscoin-f0fd00cb77d91ec9ac729bc4cf35ff7d9f676d8f.tar.xz
discoin-f0fd00cb77d91ec9ac729bc4cf35ff7d9f676d8f.zip
Switch testing framework from MAIN to new UNITTEST network
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 68fad8d03..6e5f0e3fa 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -31,7 +31,7 @@ struct TestingSetup {
TestingSetup() {
fPrintToDebugLog = false; // don't want to write to debug.log file
- SelectParams(CBaseChainParams::MAIN);
+ SelectParams(CBaseChainParams::UNITTEST);
noui_connect();
#ifdef ENABLE_WALLET
bitdb.MakeMock();