Remove pending probes on update_fail
authorValentine Wallace <vwallace@protonmail.com>
Wed, 15 Feb 2023 22:30:47 +0000 (17:30 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 16 Feb 2023 04:30:46 +0000 (23:30 -0500)
commita2b956d46eb9ec32824eddd1eff585a342c4f606
tree350e0bd60689414a815c2c1149e88b86e1730f9d
parent30b9d9fbeaa62537beb8d3ea0b2866703d0d7c92
Remove pending probes on update_fail

Previously we had a memory leak where probes would not be removed from
outbound_payments on htlc fail
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs