test: Add RegTestingSetup to setup_common

This commit is contained in:
MarcoFalke
2019-09-24 11:23:19 -04:00
parent fa54b3e248
commit fa0a731d00
5 changed files with 12 additions and 14 deletions

View File

@@ -112,7 +112,7 @@ void benchmark::BenchRunner::RunAll(Printer& printer, uint64_t num_evals, double
printer.header();
for (const auto& p : benchmarks()) {
TestingSetup test{CBaseChainParams::REGTEST};
RegTestingSetup test{};
{
LOCK(cs_main);
assert(::ChainActive().Height() == 0);