Skip to content

Commit 6cc849f

Browse files
committed
f Document legacy for-hash events
Clarify that v0.7-or-earlier for-hash invoices can still emit PaymentClaimable after upgrade regardless of the new config flag. Co-Authored-By: HAL 9000
1 parent 7d4b84e commit 6cc849f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/event.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ pub enum Event {
208208
/// holder of a valid invoice generated by this node tie up inbound HTLC slots and grow the
209209
/// persisted event queue until the payment is claimed, failed, or times out.
210210
///
211+
/// Any `_for_hash` invoices created with LDK Node v0.7 or prior can still emit this event
212+
/// after upgrade and must be claimed or failed back regardless of the config setting.
213+
///
211214
/// [`claim_for_id`]: crate::payment::Bolt11Payment::claim_for_id
212215
/// [`fail_for_id`]: crate::payment::Bolt11Payment::fail_for_id
213216
/// [`Config::manually_handle_unknown_bolt11_payments`]: crate::config::Config::manually_handle_unknown_bolt11_payments

0 commit comments

Comments
 (0)