[test util] add chain name to TestChain100Setup ctor

This allows calling MakeNoLogFileContext<TestChain100Setup>
This commit is contained in:
glozow
2022-04-20 14:04:42 -07:00
parent b9ef5a10e2
commit d7d9c7b266
3 changed files with 5 additions and 4 deletions

View File

@@ -242,8 +242,8 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector<const
}
}
TestChain100Setup::TestChain100Setup(const std::vector<const char*>& extra_args)
: TestingSetup{CBaseChainParams::REGTEST, extra_args}
TestChain100Setup::TestChain100Setup(const std::string& chain_name, const std::vector<const char*>& extra_args)
: TestingSetup{chain_name, extra_args}
{
SetMockTime(1598887952);
constexpr std::array<unsigned char, 32> vchKey = {