]> git.bitcoin.ninja Git - rust-lightning/commit
Add reply_path to BOLT12Invoices in Offers Flow
authorshaavan <shaavan.github@gmail.com>
Fri, 6 Sep 2024 12:21:37 +0000 (17:51 +0530)
committershaavan <shaavan.github@gmail.com>
Wed, 11 Sep 2024 13:24:49 +0000 (18:54 +0530)
commita4bf93610109c907a4a368069b3d0ace2604b602
tree13fa8251eada44bd1be40e48c4078cdf66f62e78
parent8b479ac5873b1d2e11514ac7d7141892d6099946
Add reply_path to BOLT12Invoices in Offers Flow

1. Introduced reply_path in BOLT12Invoices to address a gap in error handling.
   Previously, if a BOLT12Invoice sent in the offers flow generated an Invoice Error,
   the payer had no way to send this error back to the payee.
2. By adding a reply_path to the Invoice Message, the payer can now communicate
   any errors back to the payee, ensuring better error handling and communication
   within the offers flow.
lightning/src/ln/channelmanager.rs