Skip to content

Commit 8f11e87

Browse files
committed
f update for new function names
1 parent fa64deb commit 8f11e87

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,6 +3401,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
34013401
///
34023402
/// See [`create_inbound_payment_for_hash`] for detailed documentation on behavior and requirements.
34033403
///
3404+
/// [`claim_funds`]: Self::claim_funds
3405+
/// [`PaymentReceived`]: events::Event::PaymentReceived
3406+
/// [`PaymentReceived::payment_preimage`]: events::Event::PaymentReceived::payment_preimage
34043407
/// [`create_inbound_payment_for_hash`]: Self::create_inbound_payment_for_hash
34053408
pub fn create_inbound_payment(&self, min_value_msat: Option<u64>, invoice_expiry_delta_blocks: u32, user_payment_id: u64) -> (PaymentHash, PaymentSecret) {
34063409
let payment_preimage = PaymentPreimage(self.keys_manager.get_secure_random_bytes());

lightning/src/util/events.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ pub enum Event {
6262
/// The hash for which the preimage should be handed to the ChannelManager.
6363
payment_hash: PaymentHash,
6464
/// The preimage to the payment_hash, if the payment hash (and secret) were fetched via
65-
/// [`ChannelManager::get_payment_secret_preimage`]. If provided, this can be handed
66-
/// directly to [`ChannelManager::claim_funds`].
65+
/// [`ChannelManager::create_inbound_payment`]. If provided, this can be handed directly to
66+
/// [`ChannelManager::claim_funds`].
6767
///
68-
/// [`ChannelManager::get_payment_secret_preimage`]: crate::ln::channelmanager::ChannelManager::get_payment_secret_preimage
68+
/// [`ChannelManager::create_inbound_payment`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment
6969
/// [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
7070
payment_preimage: Option<PaymentPreimage>,
7171
/// The "payment secret". This authenticates the sender to the recipient, preventing a

0 commit comments

Comments
 (0)