We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 618d437 commit 53935c1Copy full SHA for 53935c1
lightning/src/ln/channelmanager.rs
@@ -473,7 +473,9 @@ enum BackgroundEvent {
473
474
pub(crate) enum MonitorUpdateCompletionAction {
475
/// Indicates that a payment ultimately destined for us was claimed and we should emit an
476
- /// [`events::Event::PaymentClaimed`] to the user iff no such event has already been surfaced.
+ /// [`events::Event::PaymentClaimed`] to the user if we haven't yet generated such an event for
477
+ /// this payment. Note that this is only best-effort. On restart it's possible such a duplicate
478
+ /// event can be generated.
479
PaymentClaimed { payment_hash: PaymentHash },
480
/// Indicates an [`events::Event`] should be surfaced to the user.
481
EmitEvent { event: events::Event },
0 commit comments