mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Add pending changelog for Event::PaymentFailed
This commit is contained in:
parent
a9e6363063
commit
f00b782a1c
1 changed files with 12 additions and 0 deletions
12
pending_changelog/3192-invoice-request-failed-event.txt
Normal file
12
pending_changelog/3192-invoice-request-failed-event.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
## API Updates
|
||||
* `Event::PaymentFailed` now uses an `Option` for its payment hash, which will
|
||||
be `None` if the invoice hasn't been received yet for a BOLT12 payment
|
||||
(#3192).
|
||||
* `Event::PaymentFailed` is now generated instead `Event::InvoiceRequestFailed`,
|
||||
which has been removed. When deserialized the latter will be converted to the
|
||||
former with `None` for the payment hash (#3192).
|
||||
|
||||
## Backwards Compatibility
|
||||
* Any `Event::PaymentFailed` generated without a payment hash will deserialize
|
||||
with `PaymentHash([0; 32])` when downgrading. This can be treated like an
|
||||
`Event::InvoiceRequestFailed` (#3192).
|
Loading…
Add table
Reference in a new issue