Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: Update BnB upper bound to be consistent with tx building
Use min_viable_change instead of cost_of_change as the upper limit of excess allowed when computing a changeless BnB solution. This prevents a corner case where dust threshold > change_fee results in some changeless BnB solutions not being considered, despite change being dropped during tx building. h/t @S3RK for identifying this issue in bitcoin#26466 .
- Loading branch information