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 {
6060 } ,
6161 /// Indicates an outbound payment we made succeeded (ie it made it all the way to its target
6262 /// 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)!
6365 PaymentSent {
6466 /// The preimage to the hash given to ChannelManager::send_payment.
6567 /// 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 {
6870 } ,
6971 /// Indicates an outbound payment we made failed. Probably some intermediary node dropped
7072 /// 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)!
7175 PaymentFailed {
7276 /// The hash which was given to ChannelManager::send_payment.
7377 payment_hash : [ u8 ; 32 ] ,
You can’t perform that action at this time.
0 commit comments