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
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.
Otherwise, an invoice may be paid with an amount greater than the
requested amount.
Co-authored-by: Ian Slane <[email protected]>
Co-authored-by: Jeffrey Czyz <[email protected]>
0 commit comments