File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,9 @@ struct OutputGroup
174
174
* change_cost = effective_feerate * change_output_size + long_term_feerate * change_spend_size
175
175
*
176
176
* @param[in] inputs The selected inputs
177
- * @param[in] change_cost The cost of creating change and spending it in the future. Only used if there is change. Must be 0 if there is no change.
177
+ * @param[in] change_cost The cost of creating change and spending it in the future.
178
+ * Only used if there is change, in which case it must be positive.
179
+ * Must be 0 if there is no change.
178
180
* @param[in] target The amount targeted by the coin selection algorithm.
179
181
* @param[in] use_effective_value Whether to use the input's effective value (when true) or the real value (when false).
180
182
* @return The waste
You can’t perform that action at this time.
0 commit comments