We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6455949 commit acf90adCopy full SHA for acf90ad
lightning/src/offers/invoice.rs
@@ -503,6 +503,7 @@ impl UnsignedBolt12Invoice {
503
let mut bytes = Vec::with_capacity(
504
invreq_bytes.len()
505
+ invoice_tlv_stream.serialized_length()
506
+ + experimental_invoice_tlv_stream.serialized_length()
507
);
508
509
// Use the invoice_request bytes instead of the invoice_request TLV stream as the latter may
@@ -520,6 +521,7 @@ impl UnsignedBolt12Invoice {
520
521
.range(SIGNATURE_TYPES)
522
.last()
523
.map_or(0, |last_record| last_record.end)
524
525
526
527
for record in TlvStream::new(invreq_bytes).range(EXPERIMENTAL_TYPES) {
0 commit comments