Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate amount_msats against invoice and refund amounts
Add a check to ensure that the amount_msats in an invoice matches the amount_msats specified in the invoice_request or refund. Reject the invoice as invalid if there is a mismatch between these amounts. This validation ensures consistency in invoice handling.
- Loading branch information