]> git.bitcoin.ninja Git - rust-lightning/commit
Add InvoiceBuilder::features_unchecked
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 31 Jul 2024 20:57:14 +0000 (15:57 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:55:58 +0000 (10:55 -0500)
commit19dec4b36fb38825565d8cb8ebd4b6bb1ba081a1
tree8e8508d906a99905508116d906e746a1a552077f
parent05db67b5c3200adde275d562607da095e41eb8a4
Add InvoiceBuilder::features_unchecked

In order to test handling of unknown required features in a
Bolt12Invoice, add a test-only function to allow setting arbitrary
feature bits.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_macros.rs