rust-lightning
rust-lightning copied to clipboard
Introduce Reply Paths for BOLT12 Invoice in Offers Flow.
This PR builds on #3087 and addresses this comment.
Changes:
- Updates the Offers message flow to include
reply_path
with the sentBOLT12Invoice
. - Ensures that in case of an error, the counterparty can send back any
InvoiceError
along thereply_path
. - Updates the Offers test to check for the invoice's
reply_path
wherever applicable.