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 90d0103 commit 6372066Copy full SHA for 6372066
lightning/src/offers/static_invoice.rs
@@ -312,7 +312,7 @@ impl StaticInvoice {
312
self.signature
313
}
314
315
- pub(crate) fn matches_invreq(&self, invreq: &InvoiceRequest) -> bool {
+ pub(crate) fn from_same_offer(&self, invreq: &InvoiceRequest) -> bool {
316
let invoice_offer_tlv_stream = TlvStream::new(&self.bytes).range(OFFER_TYPES);
317
let invreq_offer_tlv_stream = TlvStream::new(invreq.bytes()).range(OFFER_TYPES);
318
invoice_offer_tlv_stream.eq(invreq_offer_tlv_stream)
0 commit comments