]> git.bitcoin.ninja Git - rust-lightning/commit
Add PaymentFailureReason::InvoiceRequestExpired
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 6 Aug 2024 23:13:45 +0000 (18:13 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:55:59 +0000 (10:55 -0500)
commit457ba24ee5cfc66e756b298b323f107755278438
tree838aa2d048e5a72efff5959952bac087fc556650
parentf00b782a1c0b07eee31a8f9101af0d271646f15c
Add PaymentFailureReason::InvoiceRequestExpired

Now that Event::PaymentFailed is generated when an InvoiceRequest times
out, define a new PaymentFailureReason for this situation.
lightning/src/events/mod.rs
lightning/src/ln/outbound_payment.rs