test: Add RegTestingSetup to setup_common

This commit is contained in:
MarcoFalke 2019-09-24 11:23:19 -04:00
parent fa54b3e248
commit fa0a731d00
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
5 changed files with 12 additions and 14 deletions

View file

@ -124,7 +124,7 @@ TestingSetup::~TestingSetup()
pblocktree.reset();
}
TestChain100Setup::TestChain100Setup() : TestingSetup(CBaseChainParams::REGTEST)
TestChain100Setup::TestChain100Setup()
{
// CreateAndProcessBlock() does not support building SegWit blocks, so don't activate in these tests.
// TODO: fix the code to support SegWit blocks.