mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Switch testing framework from MAIN to new UNITTEST network
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
41150d601d
commit
a25fd6be13
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user