From ff7c39b195472b9d24f6c8907c2a7969f0c29d78 Mon Sep 17 00:00:00 2001 From: Vladimir Fomene Date: Tue, 23 Jan 2024 17:10:11 +0300 Subject: [PATCH] doc: change PaymentPreimage to PaymentSecret --- lightning/src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 3dbbc9784bc..21838ed3b26 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -7832,7 +7832,7 @@ where /// to pay us. /// /// This differs from [`create_inbound_payment_for_hash`] only in that it generates the - /// [`PaymentHash`] and [`PaymentPreimage`] for you. + /// [`PaymentHash`] and [`PaymentSecret`] for you. /// /// The [`PaymentPreimage`] will ultimately be returned to you in the [`PaymentClaimable`], which /// will have the [`PaymentClaimable::purpose`] be [`PaymentPurpose::InvoicePayment`] with