You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (curr_value + curr_available_value < selection_target || // Cannot possibly reach target with the amount remaining in the curr_available_value.
95
95
curr_value > selection_target + cost_of_change || // Selected value is out of range, go back and try other branch
96
-
(curr_waste > best_waste && (utxo_pool.at(0).fee- utxo_pool.at(0).long_term_fee) > 0)) { // Don't select things which we know will be more wasteful if the waste is increasing
96
+
(curr_waste > best_waste && (utxo_pool.at(0).fee> utxo_pool.at(0).long_term_fee))) { // Don't select things which we know will be more wasteful if the waste is increasing
97
97
backtrack = true;
98
98
} elseif (curr_value >= selection_target) { // Selected value is within range
99
99
curr_waste += (curr_value - selection_target); // This is the excess value which is added to the waste for the below comparison
0 commit comments