File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
225225 std::optional<COutPoint> outpoint_to_rbf{fuzzed_data_provider.ConsumeBool () ? GetChildEvictingPrevout (tx_pool) : std::nullopt };
226226
227227 // Make small packages
228- const auto num_txs = outpoint_to_rbf ? 1 : ( size_t ) fuzzed_data_provider.ConsumeIntegralInRange <int >(1 , 4 );
228+ const auto num_txs = outpoint_to_rbf ? 1 : fuzzed_data_provider.ConsumeIntegralInRange <size_t >(1 , 4 );
229229
230230 std::set<COutPoint> package_outpoints;
231231 while (txs.size () < num_txs) {
@@ -377,7 +377,7 @@ FUZZ_TARGET(tx_package_eval, .init = initialize_tx_pool)
377377 std::vector<CTransactionRef> txs;
378378
379379 // Make packages of 1-to-26 transactions
380- const auto num_txs = ( size_t ) fuzzed_data_provider.ConsumeIntegralInRange <int >(1 , 26 );
380+ const auto num_txs = fuzzed_data_provider.ConsumeIntegralInRange <size_t >(1 , 26 );
381381 std::set<COutPoint> package_outpoints;
382382 while (txs.size () < num_txs) {
383383 // Create transaction to add to the mempool
You can’t perform that action at this time.
0 commit comments