]> git.bitcoin.ninja Git - rust-lightning/commit
Update PaymentPurpose's payment_preimage docs
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 17 Apr 2024 21:45:45 +0000 (16:45 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:15:25 +0000 (09:15 -0500)
commit478911d42a8b47020511bdcb793756723f3801be
treea94eb264aa98bad3eb3d9fa2ee2f9a770c43dee1
parent8367e021103493b811b9366e2355bd09e91b4836
Update PaymentPurpose's payment_preimage docs

Clarify that payment_preimage should only be used to claim a payment
when handling Event::PaymentClaimable, not Event::PaymentClaimed.
lightning/src/events/mod.rs