X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fevents.rs;fp=lightning%2Fsrc%2Futil%2Fevents.rs;h=599ed2afa68c0b7d2363904959a6daadb9a72c10;hb=3aa4aa8880642e87cb6e38194b000e6dfab74faa;hp=798f562526fa8acbba55e4353e94c08b03d50980;hpb=5d74cae6c5665a0bd917b24b4fcaf181ff6b5450;p=rust-lightning diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index 798f5625..599ed2af 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -95,8 +95,6 @@ pub enum Event { }, /// Indicates an outbound payment we made succeeded (ie it made it all the way to its target /// and we got back the payment preimage for it). - /// Note that duplicative PaymentSent Events may be generated - it is your responsibility to - /// deduplicate them by payment_preimage (which MUST be unique)! PaymentSent { /// The preimage to the hash given to ChannelManager::send_payment. /// Note that this serves as a payment receipt, if you wish to have such a thing, you must @@ -105,8 +103,6 @@ pub enum Event { }, /// Indicates an outbound payment we made failed. Probably some intermediary node dropped /// something. You may wish to retry with a different route. - /// Note that duplicative PaymentFailed Events may be generated - it is your responsibility to - /// deduplicate them by payment_hash (which MUST be unique)! PaymentFailed { /// The hash which was given to ChannelManager::send_payment. payment_hash: PaymentHash,