]> git.bitcoin.ninja Git - rust-lightning/commit
Update Offers Test to Verify BOLT12 Invoice Reply Paths
authorshaavan <shaavan.github@gmail.com>
Thu, 29 Aug 2024 11:36:18 +0000 (17:06 +0530)
committershaavan <shaavan.github@gmail.com>
Wed, 11 Sep 2024 13:24:49 +0000 (18:54 +0530)
commit7b499931012f9a8710bdb24ad67ec7f92daade4f
tree6e050407cade5ac18c0f71db73e7012efe79ab3f
parenta4bf93610109c907a4a368069b3d0ace2604b602
Update Offers Test to Verify BOLT12 Invoice Reply Paths

1. Updated the Offers Test to check the reply paths in BOLT12 Invoices.
2. Changed the `extract_invoice` return type from `Option<BlindedMessagePath>`
   to `BlindedMessagePath` since all BOLT12Invoices now have a corresponding
   reply path by default.
lightning/src/ln/offers_tests.rs