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 0d75a63 commit 2cbe4a0Copy full SHA for 2cbe4a0
lightning-invoice/src/lib.rs
@@ -992,10 +992,10 @@ impl Invoice {
992
self.signed_invoice.payee_pub_key().map(|x| &x.0)
993
}
994
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
- }
+ /// Get the payment secret if one was included in the invoice
+ pub fn payment_secret(&self) -> Option<&PaymentSecret> {
+ self.signed_invoice.payment_secret()
+ }
999
1000
/// Recover the payee's public key (only to be used if none was included in the invoice)
1001
pub fn recover_payee_pub_key(&self) -> PublicKey {
0 commit comments