From: Valentine Wallace Date: Tue, 13 Apr 2021 14:34:33 +0000 (-0400) Subject: Fix indentation in payment_secret function X-Git-Tag: v0.0.14~16^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2cbe4a09ecfe42e7cf3f161f2c2c96a7309245e6;p=rust-lightning Fix indentation in payment_secret function --- 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 {