File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4003,14 +4003,17 @@ where
4003
4003
/// fails or if the encoded `payment_id` is not recognized. The latter may happen once the
4004
4004
/// payment is no longer tracked because the payment was attempted after:
4005
4005
/// - an invoice for the `payment_id` was already paid,
4006
- /// - one timer tick has elapsed since initially requesting the invoice when paying an offer, or
4006
+ /// - one full [timer tick] has elapsed since initially requesting the invoice when paying an
4007
+ /// offer, or
4007
4008
/// - the refund corresponding to the invoice has already expired.
4008
4009
///
4009
4010
/// Attempting to pay the same invoice twice while the first payment is still pending will
4010
4011
/// result in a [`Bolt12PaymentError::DuplicateInvoice`].
4011
4012
///
4012
4013
/// Otherwise, either [`Event::PaymentSent`] or [`Event::PaymentFailed`] are used to indicate
4013
4014
/// whether or not the payment was successful.
4015
+ ///
4016
+ /// [timer tick]: Self::timer_tick_occurred
4014
4017
pub fn send_payment_for_bolt12_invoice(&self, invoice: &Bolt12Invoice) -> Result<(), Bolt12PaymentError> {
4015
4018
let secp_ctx = &self.secp_ctx;
4016
4019
let expanded_key = &self.inbound_payment_key;
You can’t perform that action at this time.
0 commit comments