Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: Assert that enough was selected to cover the fees
When the fee is not subtracted from the outputs, the amount that has been reserved for the fee (change_and_fee - change_amount) must be enough to cover the fee that is needed. It would be a bug to not do so, so use an assert to make this obvious if such a situation were to occur.
- Loading branch information