mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
validation: make CCheckQueueControl's CCheckQueue non-optional
This simplifies the construction logic and will allow the constructor and destructor to lock and unlock uncondiationally.
This commit is contained in:
@@ -49,7 +49,7 @@ FUZZ_TARGET(checkqueue)
|
||||
(void)check_queue_1.Complete();
|
||||
}
|
||||
|
||||
CCheckQueueControl<DumbCheck> check_queue_control{&check_queue_2};
|
||||
CCheckQueueControl<DumbCheck> check_queue_control{check_queue_2};
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
check_queue_control.Add(std::move(checks_2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user