]> git.bitcoin.ninja Git - rust-lightning/commit
Macro-ize InvoiceRequest accessors for reuse
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 15 Aug 2023 13:24:40 +0000 (08:24 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 22 Aug 2023 00:14:28 +0000 (19:14 -0500)
commit9d02d06e06b112d76bdd0380ede58bf7e6242769
tree19942f57978cbcb89f96946ca038d76525f12afc
parent66060cae8af6969373bb16b73064b8ea3a7b689a
Macro-ize InvoiceRequest accessors for reuse

Various messages wrap InvoiceRequestContents, which shouldn't be exposed
as it is an implementation detail. Define a macro for InvoiceRequest
accessor methods so that these messages can also define them.
lightning/src/offers/invoice_request.rs
lightning/src/offers/offer.rs
lightning/src/offers/payer.rs