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 c36e7ef commit 819da3aCopy full SHA for 819da3a
lightning/src/offers/invoice.rs
@@ -169,9 +169,9 @@ impl<'a> UnsignedInvoice<'a> {
169
where
170
F: FnOnce(&Message) -> Result<Signature, E>
171
{
172
- // Use the invoice_request bytes instead of the invoice_reqeuest TLV stream as the latter
173
- // may have contained unknown TLV records, which are not stored in `InvoiceRequestContents`
174
- // or `RefundContents`.
+ // Use the invoice_request bytes instead of the invoice_request TLV stream as the latter may
+ // have contained unknown TLV records, which are not stored in `InvoiceRequestContents` or
+ // `RefundContents`.
175
let (_, _, _, invoice_tlv_stream) = self.invoice.as_tlv_stream();
176
let invoice_request_bytes = WithoutSignatures(self.invreq_bytes);
177
let unsigned_tlv_stream = (invoice_request_bytes, invoice_tlv_stream);
0 commit comments