mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
[test util] add chain name to TestChain100Setup ctor
This allows calling MakeNoLogFileContext<TestChain100Setup>
This commit is contained in:
parent
b9ef5a10e2
commit
d7d9c7b266
3 changed files with 5 additions and 4 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue