mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
tests: cover restricted add_aux_pow limit
This commit is contained in:
@@ -473,7 +473,7 @@ void fuzz_add_aux_pow(cryptonote::core_rpc_server& rpc, FuzzedDataProvider& prov
|
||||
|
||||
req.blocktemplate_blob = provider.ConsumeRandomLengthString(128);
|
||||
|
||||
size_t count = provider.ConsumeIntegralInRange<size_t>(0, 4);
|
||||
size_t count = provider.ConsumeIntegralInRange<size_t>(0, 16);
|
||||
for (size_t i = 0; i < count; ++i) {
|
||||
cryptonote::COMMAND_RPC_ADD_AUX_POW::aux_pow_t aux;
|
||||
aux.id = provider.ConsumeRandomLengthString(32);
|
||||
|
||||
Reference in New Issue
Block a user