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:
1 parent
41150d601d
commit
a25fd6be13
12 files changed
+329
-3
No files matched your search
@@ -88,6 +88,8 @@ namespace Checkpoints {
|
||||
return dataTestnet;
|
||||
else if (Params().NetworkID() == CBaseChainParams::MAIN)
|
||||
return data;
|
||||
else if (Params().NetworkID() == CBaseChainParams::UNITTEST) // UnitTest share the same checkpoints as MAIN
|
||||
return data;
|
||||
else
|
||||
return dataRegtest;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user