]> git.bitcoin.ninja Git - rust-lightning/commit
Add an HMAC to OffersContext::OutboundPayment
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Jul 2024 16:45:09 +0000 (11:45 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:42:17 +0000 (10:42 -0500)
commit0ca9faf0783ec7eecb5dac5c436411da71583ac7
treec0703cda2600bf05b5f23131fa9a733381354408
parent8119fbfaf9fb72a083c7e20250766a1eb4e0183b
Add an HMAC to OffersContext::OutboundPayment

When receiving an InvoiceError in response to an InvoiceRequest, the
corresponding payment should be abandoned. Add an HMAC to
OffersContext::OutboundPayment such that the payment ID can be
authenticated prior to abandoning the payment.
lightning/src/blinded_path/message.rs
lightning/src/ln/channelmanager.rs