Skip to content

Commit 58c2bbd

Browse files
committed
[fuzz] Enable erlay in process_message(s) targets
1 parent 5b3f05b commit 58c2bbd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/test/fuzz/process_message.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ void initialize_process_message()
5656
{
5757
Assert(GetNumMsgTypes() == getAllNetMessageTypes().size()); // If this fails, add or remove the message type below
5858

59-
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
59+
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>(
60+
/*chain_name=*/CBaseChainParams::REGTEST,
61+
/*extra_args=*/{"-txreconciliation"});
6062
g_setup = testing_setup.get();
6163
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
6264
MineBlock(g_setup->m_node, CScript() << OP_TRUE);

src/test/fuzz/process_messages.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ const TestingSetup* g_setup;
2323

2424
void initialize_process_messages()
2525
{
26-
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
26+
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>(
27+
/*chain_name=*/CBaseChainParams::REGTEST,
28+
/*extra_args=*/{"-txreconciliation"});
2729
g_setup = testing_setup.get();
2830
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
2931
MineBlock(g_setup->m_node, CScript() << OP_TRUE);

0 commit comments

Comments
 (0)