Mark failed counterparty-is-destination HTLCs retryable
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 3b83726958b3a655b681f9a821d114b5a97e7c8a..6f8ba7b39a4834afd538864c8bde87167af35e1c 100644 (file)
@@ -3990,7 +3990,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
                                                events::Event::PaymentPathFailed {
                                                        payment_id: Some(payment_id),
                                                        payment_hash: payment_hash.clone(),
-                                                       rejected_by_dest: path.len() == 1,
+                                                       rejected_by_dest: false,
                                                        network_update: None,
                                                        all_paths_failed,
                                                        path: path.clone(),