diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-04 20:16:22 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-12 07:28:12 -0400 |
commit | fab860aed4878b831dae463e1ee68029b66210f5 (patch) | |
tree | fb9294cbf92cb1945da56a149935015dc2bd2675 /src/test/fuzz/process_message.cpp | |
parent | 6666c828e072a5e99ea0c16394ca3e5b9de07409 (diff) |
fuzz: Stop nodes in process_message* fuzzers
Diffstat (limited to 'src/test/fuzz/process_message.cpp')
-rw-r--r-- | src/test/fuzz/process_message.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/fuzz/process_message.cpp b/src/test/fuzz/process_message.cpp index 38c0748c71..eae62c7329 100644 --- a/src/test/fuzz/process_message.cpp +++ b/src/test/fuzz/process_message.cpp @@ -81,4 +81,6 @@ void test_one_input(const std::vector<uint8_t>& buffer) } catch (const std::ios_base::failure&) { } SyncWithValidationInterfaceQueue(); + LOCK2(::cs_main, g_cs_orphans); // See init.cpp for rationale for implicit locking order requirement + g_setup->m_node.connman->StopNodes(); } |