fuzz: Disable debug log file

This commit is contained in:
MarcoFalke 2020-04-08 19:48:38 -04:00
parent fa0cbd48c4
commit fa69f88486
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 14 additions and 4 deletions

View file

@ -57,12 +57,17 @@ const std::map<std::string, std::set<std::string>> EXPECTED_DESERIALIZATION_EXCE
{"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}},
};
const RegTestingSetup* g_setup;
const TestingSetup* g_setup;
} // namespace
void initialize()
{
static RegTestingSetup setup{};
static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup;
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {

View file

@ -16,11 +16,16 @@
#include <validation.h>
#include <validationinterface.h>
const RegTestingSetup* g_setup;
const TestingSetup* g_setup;
void initialize()
{
static RegTestingSetup setup{};
static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup;
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {