Remove InvoiceRequestFields::amount_msats
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Apr 2024 17:03:07 +0000 (12:03 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 29 Apr 2024 17:27:38 +0000 (12:27 -0500)
commit7b864425ea884f816b3801cd1b4fdb99d95a4e36
treef931f3bcd36afadb480f605ad4fc96245d639850
parent8e562be5d43dce5a07fc09686d4f7f151f5a2706
Remove InvoiceRequestFields::amount_msats

Event::PaymentClaimable and Event::PaymentClaimed already contain the
paid amount, so there's no need to included the requested amount in
InvoiceRequestFields.
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice_request.rs