We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377542a commit 6b8d346Copy full SHA for 6b8d346
pending_changelog/3192-invoice-request-failed-event.txt
@@ -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