File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ void FuzzCoinSelectionAlgorithm(std::span<const uint8_t> buffer) {
282282 assert (result_srd->GetSelectedValue () >= target);
283283 assert (result_srd->GetChange (CHANGE_LOWER, coin_params.m_change_fee ) > 0 );
284284 assert (result_srd->GetWeight () <= max_selection_weight);
285+ result_srd->SetBumpFeeDiscount (ConsumeMoney (fuzzed_data_provider));
285286 result_srd->RecalculateWaste (coin_params.min_viable_change , coin_params.m_cost_of_change , coin_params.m_change_fee );
286287 (void )result_srd->GetShuffledInputVector ();
287288 (void )result_srd->GetInputSet ();
@@ -308,6 +309,7 @@ void FuzzCoinSelectionAlgorithm(std::span<const uint8_t> buffer) {
308309 result = *result_knapsack;
309310 assert (result_knapsack->GetSelectedValue () >= target);
310311 assert (result_knapsack->GetWeight () <= max_selection_weight);
312+ result_knapsack->SetBumpFeeDiscount (ConsumeMoney (fuzzed_data_provider));
311313 result_knapsack->RecalculateWaste (coin_params.min_viable_change , coin_params.m_cost_of_change , coin_params.m_change_fee );
312314 (void )result_knapsack->GetShuffledInputVector ();
313315 (void )result_knapsack->GetInputSet ();
You can’t perform that action at this time.
0 commit comments