feat(cdk): allow minting less than paid amount for non-bolt11 payments #971

Merged
thesimplekid merged 1 commit from allow_mint_less_then_paid into main 2025-08-18 11:53:27 +00:00
thesimplekid commented 2025-08-18 10:36:52 +00:00 (Migrated from github.com)

For bolt11 payments, enforce exact amount matching between outputs and quote. For other payment methods, allow minting less than paid amount while preventing overspending.

Description


Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

For bolt11 payments, enforce exact amount matching between outputs and quote. For other payment methods, allow minting less than paid amount while preventing overspending. ### Description <!-- Describe the purpose of this PR, what's being adding and/or fixed --> ----- ### Notes to the reviewers <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> ----- ### Suggested [CHANGELOG](https://github.com/cashubtc/cdk/blob/main/CHANGELOG.md) Updates <!-- Please do not edit the actual changelog but note what you changed here. --> #### CHANGED #### ADDED #### REMOVED #### FIXED ---- ### Checklist * [ ] I followed the [code style guidelines](https://github.com/cashubtc/cdk/blob/main/CODE_STYLE.md) * [ ] I ran `just final-check` before committing
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!971
No description provided.