Remove AllPathsFailed outbounds at send_payment_internal callsites instead
authorValentine Wallace <vwallace@protonmail.com>
Mon, 19 Dec 2022 04:29:45 +0000 (23:29 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 25 Jan 2023 19:44:07 +0000 (14:44 -0500)
commit72a7da8d5175f656d6e4b73b7ab7f5b2ee9a89f5
tree6181c24e5a2307f20dec429afcf888fa912449a6
parent686ef083162758f980786b3e5a85f4412cd4b847
Remove AllPathsFailed outbounds at send_payment_internal callsites instead

This makes it easier to retry payments if all paths fail on initial send, in
in which case we'll want to hold off on removing the pending payment
lightning/src/ln/outbound_payment.rs