Skip to content

Commit

Permalink
fuzz: Fix implicit-integer-sign-change in wallet/fees fuzz target
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Jun 20, 2023
1 parent 8f40271 commit faa05d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/test/fuzz/fees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit faa05d1

Please sign in to comment.