Prevent duplicate PaymentSent events
authorValentine Wallace <vwallace@protonmail.com>
Fri, 20 Aug 2021 00:44:45 +0000 (20:44 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 17 Sep 2021 19:36:24 +0000 (15:36 -0400)
commit8f1763159e8b2902f2952388967f8c67d11219ad
tree94cfb931300e475ca9235a83ca8d7b59bd2663d3
parentad81addd9830edbe762465440c0ccccd439b4e39
Prevent duplicate PaymentSent events

by removing all pending outbound payments associated with the same
MPP payment after the preimage is received
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/util/events.rs