File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ pub enum Event {
60
60
} ,
61
61
/// Indicates an outbound payment we made succeeded (ie it made it all the way to its target
62
62
/// and we got back the payment preimage for it).
63
+ /// Note that duplicative PaymentSent Events may be generated - it is your responsibility to
64
+ /// deduplicate them by payment_preimage (which MUST be unique)!
63
65
PaymentSent {
64
66
/// The preimage to the hash given to ChannelManager::send_payment.
65
67
/// Note that this serves as a payment receipt, if you wish to have such a thing, you must
@@ -68,6 +70,8 @@ pub enum Event {
68
70
} ,
69
71
/// Indicates an outbound payment we made failed. Probably some intermediary node dropped
70
72
/// something. You may wish to retry with a different route.
73
+ /// Note that duplicative PaymentFailed Events may be generated - it is your responsibility to
74
+ /// deduplicate them by payment_hash (which MUST be unique)!
71
75
PaymentFailed {
72
76
/// The hash which was given to ChannelManager::send_payment.
73
77
payment_hash : [ u8 ; 32 ] ,
You can’t perform that action at this time.
0 commit comments