File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ FUZZ_TARGET(wallet_fees, .init = initialize_setup)
36
36
wallet.SetLastBlockProcessed (chainstate->m_chain .Height (), chainstate->m_chain .Tip ()->GetBlockHash ());
37
37
}
38
38
39
+ if (fuzzed_data_provider.ConsumeBool ()) {
40
+ wallet.m_fallback_fee = CFeeRate{ConsumeMoney (fuzzed_data_provider, /* max=*/ COIN)};
41
+ }
42
+
39
43
if (fuzzed_data_provider.ConsumeBool ()) {
40
44
wallet.m_discard_rate = CFeeRate{ConsumeMoney (fuzzed_data_provider, /* max=*/ COIN)};
41
45
}
@@ -58,6 +62,9 @@ FUZZ_TARGET(wallet_fees, .init = initialize_setup)
58
62
if (fuzzed_data_provider.ConsumeBool ()) {
59
63
coin_control.m_confirm_target = fuzzed_data_provider.ConsumeIntegralInRange <unsigned int >(0 , 999'000 );
60
64
}
65
+ if (fuzzed_data_provider.ConsumeBool ()) {
66
+ coin_control.m_fee_mode = fuzzed_data_provider.ConsumeBool () ? FeeEstimateMode::CONSERVATIVE : FeeEstimateMode::ECONOMICAL;
67
+ }
61
68
62
69
FeeCalculation fee_calculation;
63
70
FeeCalculation* maybe_fee_calculation{fuzzed_data_provider.ConsumeBool () ? nullptr : &fee_calculation};
You can’t perform that action at this time.
0 commit comments