mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
fuzz: Fix implicit-integer-sign-change in wallet/fees fuzz target
This commit is contained in:
parent
8f40271037
commit
faa05d1965
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ FUZZ_TARGET_INIT(wallet_fees, initialize_setup)
|
|||
coin_control.m_feerate = CFeeRate{ConsumeMoney(fuzzed_data_provider, /*max=*/COIN)};
|
||||
}
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
coin_control.m_confirm_target = fuzzed_data_provider.ConsumeIntegral<unsigned int>();
|
||||
coin_control.m_confirm_target = fuzzed_data_provider.ConsumeIntegralInRange<unsigned int>(0, 999'000);
|
||||
}
|
||||
|
||||
FeeCalculation fee_calculation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue