Skip to content

Commit

Permalink
Merge pull request #1099 from getlipa/doc/clarify-withdraw-lnurlw-docs
Browse files Browse the repository at this point in the history
Clarify `withdraw_lnurlw` method documentation
  • Loading branch information
danielgranhao authored Jun 6, 2024
2 parents 0584c8b + 006ce3a commit c42ecec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,10 @@ impl LightningNode {

/// Withdraw an LNURL-withdraw the provided amount.
///
/// A successful return means the LNURL-withdraw service has started a payment.
/// Only after the event [`EventsCallback::payment_received`] can the payment be considered
/// received.
///
/// Parameters:
/// * `lnurl_withdraw_request_data` - LNURL-withdraw request data as obtained from [`LightningNode::decode_data`]
/// * `amount_sat` - amount to be withdraw
Expand Down

0 comments on commit c42ecec

Please sign in to comment.