Use explicit WithoutLength for BOLT 12 features
[rust-lightning] / lightning / src / offers / invoice_request.rs
index 690bc8d0bdb72d03fc0914b628ed1842a0ef9701..fd5ecda558af523f1664452f98968edef311da9c 100644 (file)
@@ -371,7 +371,7 @@ impl Writeable for InvoiceRequestContents {
 tlv_stream!(InvoiceRequestTlvStream, InvoiceRequestTlvStreamRef, 80..160, {
        (80, chain: ChainHash),
        (82, amount: (u64, HighZeroBytesDroppedBigSize)),
-       (84, features: InvoiceRequestFeatures),
+       (84, features: (InvoiceRequestFeatures, WithoutLength)),
        (86, quantity: (u64, HighZeroBytesDroppedBigSize)),
        (88, payer_id: PublicKey),
        (89, payer_note: (String, WithoutLength)),