Skip to content

Commit 6aa4916

Browse files
committed
f Slightly clarify docs
1 parent 69ddbe3 commit 6aa4916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/payment/bolt11.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ impl Bolt11Payment {
394394
/// failed back, e.g., if the correct preimage can't be retrieved in time before the claim
395395
/// deadline has been reached.
396396
///
397-
/// Will check that the payment is known before failing the payment, and will return an error
398-
/// otherwise.
397+
/// Will check that the payment is known and pending before failing the payment, and will
398+
/// return an error otherwise.
399399
///
400400
/// [`receive_for_hash`]: Self::receive_for_hash
401401
/// [`receive_variable_amount_for_hash`]: Self::receive_variable_amount_for_hash

0 commit comments

Comments
 (0)