mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02: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:
parent
8d132431b4
commit
f0fd00cb77
10 changed files with 97 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue