File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ where
492492
493493impl UnsignedBolt12Invoice {
494494 fn new ( invreq_bytes : & [ u8 ] , contents : InvoiceContents ) -> Self {
495+ // TLV record ranges applicable to invreq_bytes.
495496 const NON_EXPERIMENTAL_TYPES : core:: ops:: Range < u64 > = 0 ..INVOICE_REQUEST_TYPES . end ;
496497 const EXPERIMENTAL_TYPES : core:: ops:: Range < u64 > =
497498 EXPERIMENTAL_OFFER_TYPES . start ..EXPERIMENTAL_INVOICE_REQUEST_TYPES . end ;
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ macro_rules! invoice_accessors_signing_pubkey {
277277
278278impl UnsignedStaticInvoice {
279279 fn new ( offer_bytes : & Vec < u8 > , contents : InvoiceContents ) -> Self {
280+ // TLV record ranges applicable to offer_bytes.
280281 const NON_EXPERIMENTAL_TYPES : core:: ops:: Range < u64 > = OFFER_TYPES ;
281282 const EXPERIMENTAL_TYPES : core:: ops:: Range < u64 > = EXPERIMENTAL_OFFER_TYPES ;
282283
You can’t perform that action at this time.
0 commit comments