diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp index a39a4ca0d1..4759f1eb95 100644 --- a/src/wallet/spend.cpp +++ b/src/wallet/spend.cpp @@ -705,7 +705,7 @@ util::Result ChooseSelectionResult(interfaces::Chain& chain, co } else append_error(std::move(bnb_result)); } - // As Knapsack and SRD can create change, also deduce change weight. + // Deduct change weight because remaining Coin Selection algorithms can create change output max_selection_weight -= (coin_selection_params.change_output_size * WITNESS_SCALE_FACTOR); // The knapsack solver has some legacy behavior where it will spend dust outputs. We retain this behavior, so don't filter for positive only here.