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 c08f387 commit bfc0972Copy full SHA for bfc0972
lightning/src/offers/static_invoice.rs
@@ -581,8 +581,11 @@ mod tests {
581
use bitcoin::Network;
582
use core::time::Duration;
583
584
+ type FullInvoiceTlvStreamRef<'a> =
585
+ (OfferTlvStreamRef<'a>, InvoiceTlvStreamRef<'a>, SignatureTlvStreamRef<'a>);
586
+
587
impl StaticInvoice {
- fn as_tlv_stream(&self) -> (OfferTlvStreamRef, InvoiceTlvStreamRef, SignatureTlvStreamRef) {
588
+ fn as_tlv_stream(&self) -> FullInvoiceTlvStreamRef {
589
let (offer_tlv_stream, invoice_tlv_stream) = self.contents.as_tlv_stream();
590
(
591
offer_tlv_stream,
0 commit comments