]> git.bitcoin.ninja Git - rust-lightning/commit
Add PaymentId to PaymentSent event
authorJeffrey Czyz <jkczyz@gmail.com>
Sun, 17 Oct 2021 22:21:01 +0000 (17:21 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Oct 2021 06:12:30 +0000 (01:12 -0500)
commit3410f1803a77f7114c4f4e2195597578c608087f
treec25b0604577465d4b2c5cb630eddd7b9498f9837
parenta3a4e614276cbfe7c2fbb9eeb39d32982f1e6bb0
Add PaymentId to PaymentSent event

The payment_hash may not uniquely identify the payment if it has been
reused. Include the payment_id in PaymentSent events so it can
correlated with the send_payment call.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/events.rs