From 2cbe4a09ecfe42e7cf3f161f2c2c96a7309245e6 Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Tue, 13 Apr 2021 10:34:33 -0400 Subject: [PATCH] Fix indentation in payment_secret function --- lightning-invoice/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index 2ce022248..315cf641c 100644 --- a/lightning-invoice/src/lib.rs +++ b/lightning-invoice/src/lib.rs @@ -992,10 +992,10 @@ impl Invoice { self.signed_invoice.payee_pub_key().map(|x| &x.0) } - /// Get the payment secret if one was included in the invoice - pub fn payment_secret(&self) -> Option<&PaymentSecret> { - self.signed_invoice.payment_secret() - } + /// Get the payment secret if one was included in the invoice + pub fn payment_secret(&self) -> Option<&PaymentSecret> { + self.signed_invoice.payment_secret() + } /// Recover the payee's public key (only to be used if none was included in the invoice) pub fn recover_payee_pub_key(&self) -> PublicKey { -- 2.39.5