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 95c1303 commit 90d0103Copy full SHA for 90d0103
lightning/src/offers/static_invoice.rs
@@ -315,7 +315,7 @@ impl StaticInvoice {
315
pub(crate) fn matches_invreq(&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.zip(invreq_offer_tlv_stream).all(|(tlv1, tlv2)| tlv1 == tlv2)
+ invoice_offer_tlv_stream.eq(invreq_offer_tlv_stream)
319
}
320
321
0 commit comments