]> git.bitcoin.ninja Git - rust-lightning/commit
Remove Event::InvoiceRequestFailed
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 6 Aug 2024 22:51:16 +0000 (17:51 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:55:59 +0000 (10:55 -0500)
commita9e63630639fd5c7968fe1268bf7b08a6eb81b27
treed122163d0ce1daffd3d9712d3be5e6d8146f5590
parent14153edeed100bc311bd1eca95ac4717c4d6583c
Remove Event::InvoiceRequestFailed

Now that Event::PaymentFailed has an option payment_hash, it can be used
in replace of Event::InvoiceRequestFailed. This allows for including a
reason when abandoning a payment before an invoice is received.
lightning/src/events/mod.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/offers_tests.rs
lightning/src/ln/outbound_payment.rs