Skip to content

Commit 2cbe4a0

Browse files
Fix indentation in payment_secret function
1 parent 0d75a63 commit 2cbe4a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning-invoice/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -992,10 +992,10 @@ impl Invoice {
992992
self.signed_invoice.payee_pub_key().map(|x| &x.0)
993993
}
994994

995-
/// Get the payment secret if one was included in the invoice
996-
pub fn payment_secret(&self) -> Option<&PaymentSecret> {
997-
self.signed_invoice.payment_secret()
998-
}
995+
/// Get the payment secret if one was included in the invoice
996+
pub fn payment_secret(&self) -> Option<&PaymentSecret> {
997+
self.signed_invoice.payment_secret()
998+
}
999999

10001000
/// Recover the payee's public key (only to be used if none was included in the invoice)
10011001
pub fn recover_payee_pub_key(&self) -> PublicKey {

0 commit comments

Comments
 (0)