]> git.bitcoin.ninja Git - rust-lightning/commit
Don't remove failed payments when all paths fail
authorValentine Wallace <vwallace@protonmail.com>
Tue, 28 Sep 2021 00:47:32 +0000 (20:47 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 30 Sep 2021 00:25:42 +0000 (20:25 -0400)
commit207479f32f158fd5f4382b40bfe24554bb42ec2c
treea8d94d9647a6102a4d3665283e45ad8b0a38b97d
parent8db9c50b8b58d01099cef83167594cdc5f4a7842
Don't remove failed payments when all paths fail

This is because we want the ability to retry completely failed
payments.

Upcoming commits will remove these payments on timeout to prevent
DoS issues

Also test that this removal allows retrying single-path payments
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs