File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3942,9 +3942,8 @@ where
3942
3942
///
3943
3943
/// This method is guaranteed to ensure the payment has been claimed but only if the current
3944
3944
/// height is strictly below [`Event::PaymentClaimable::claim_deadline`]. To avoid race
3945
- /// conditions, you should wait for an [`Event::PaymentClaimed`] event which upon a
3946
- /// successful claim will be provided to your [`EventHandler`] when
3947
- /// [`process_pending_events`] is next called.
3945
+ /// conditions, you should wait for an [`Event::PaymentClaimed`] before considering the payment
3946
+ /// successful. It will generally be available in the next [`process_pending_events`] call.
3948
3947
///
3949
3948
/// Note that if you did not set an `amount_msat` when calling [`create_inbound_payment`] or
3950
3949
/// [`create_inbound_payment_for_hash`] you must check that the amount in the `PaymentClaimable`
You can’t perform that action at this time.
0 commit comments