forked from lightningdevkit/rust-lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop
amount_msats
from InvoiceRequestFields
An `InvoiceRequest` can overpay for an `Offer` which would be reflected back to the recipient via the `amount_msats` field, but its somewhat deceptive as the sender can *also* then further overpay in the HTLC(s) themselves. The total overpayment is already communicated in the `Event::ClaimablePayment` so we simply drop the `InvoiceRequestFields` field here. Fixes lightningdevkit#3002
- Loading branch information
1 parent
98398fe
commit 90c919c
Showing
2 changed files
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters