Skip to content

Commit a7e4383

Browse files
committed
solving CI checks errors
1 parent 93d6430 commit a7e4383

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lightning/src/offers/invoice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ macro_rules! invoice_accessors { ($self: ident, $contents: expr) => {
692692
$contents.signing_pubkey()
693693
}
694694

695-
pub(crate) fn as_tlv_stream(&$self) -> PartialInvoiceTlvStreamRef {
695+
pub(crate) fn tlv_stream(&$self) -> PartialInvoiceTlvStreamRef {
696696
$contents.as_tlv_stream()
697697
}
698698
} }

lightning/src/offers/invoice_request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ macro_rules! invoice_request_accessors { ($self: ident, $contents: expr) => {
520520
$contents.payer_note()
521521
}
522522

523-
pub(crate) fn as_tlv_stream(&$self) -> PartialInvoiceRequestTlvStreamRef {
523+
pub(crate) fn tlv_stream(&$self) -> PartialInvoiceRequestTlvStreamRef {
524524
$contents.as_tlv_stream()
525525
}
526526
} }

lightning/src/onion_message/messenger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use crate::prelude::*;
5656
///
5757
/// # Example
5858
///
59-
/// ```
59+
///
6060
/// # extern crate bitcoin;
6161
/// # use bitcoin::hashes::_export::_core::time::Duration;
6262
/// # use bitcoin::secp256k1::{PublicKey, Secp256k1, SecretKey};
@@ -132,7 +132,7 @@ use crate::prelude::*;
132132
/// let reply_path = None;
133133
/// # let message = YourCustomMessage {};
134134
/// onion_messenger.send_onion_message(path, message, reply_path);
135-
/// ```
135+
///
136136
///
137137
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
138138
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice

lightning/src/onion_message/offers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ impl OffersMessage {
9595
pub(crate) fn format(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
9696
match self {
9797
OffersMessage::InvoiceRequest(message) => {
98-
write!(f, "InvoiceRequest: {:?}", message.as_tlv_stream())
98+
write!(f, "InvoiceRequest: {:?}", message.tlv_stream())
9999
}
100100
OffersMessage::Invoice(message) => {
101-
write!(f, "Invoice: {:?}", message.as_tlv_stream())
101+
write!(f, "Invoice: {:?}", message.tlv_stream())
102102
}
103103
OffersMessage::InvoiceError(message) => {
104104
write!(f, "InvoiceError: {:?}", message)

0 commit comments

Comments
 (0)