fuzz: package_eval: let fuzzer run out input in main tx creation loop
This commit is contained in:
1 parent
ba35a570c5
commit
d033acb608
1 file changed
+2
-2
@@ -210,7 +210,7 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
|
|||||||
|
|
||||||
chainstate.SetMempool(&tx_pool);
|
chainstate.SetMempool(&tx_pool);
|
||||||
|
|
||||||
LIMITED_WHILE(fuzzed_data_provider.ConsumeBool(), 300)
|
LIMITED_WHILE(fuzzed_data_provider.remaining_bytes() > 0, 300)
|
||||||
{
|
{
|
||||||
Assert(!mempool_outpoints.empty());
|
Assert(!mempool_outpoints.empty());
|
||||||
|
|
||||||
@@ -364,7 +364,7 @@ FUZZ_TARGET(tx_package_eval, .init = initialize_tx_pool)
|
|||||||
|
|
||||||
chainstate.SetMempool(&tx_pool);
|
chainstate.SetMempool(&tx_pool);
|
||||||
|
|
||||||
LIMITED_WHILE(fuzzed_data_provider.ConsumeBool(), 300)
|
LIMITED_WHILE(fuzzed_data_provider.remaining_bytes() > 0, 300)
|
||||||
{
|
{
|
||||||
Assert(!mempool_outpoints.empty());
|
Assert(!mempool_outpoints.empty());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user