Skip to content

Commit 6b8d346

Browse files
committed
Add pending changelog for Event::PaymentFailed
1 parent 377542a commit 6b8d346

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## API Updates
2+
* `Event::PaymentFailed` now uses an `Option` for its payment hash, which will
3+
be `None` if the invoice hasn't been received yet for a BOLT12 payment
4+
(#3192).
5+
* `Event::PaymentFailed` is now generated instead `Event::InvoiceRequestFailed`,
6+
which has been removed. When deserialized the latter will be converted to the
7+
former with `None` for the payment hash (#3192).
8+
9+
## Backwards Compatibility
10+
* Any `Event::PaymentFailed` generated without a payment hash will deserialize
11+
with `PaymentHash([0; 32])` when downgrading. This can be treated like an
12+
`Event::InvoiceRequestFailed` (#3192).

0 commit comments

Comments
 (0)