]> git.bitcoin.ninja Git - rust-lightning/commit
Remove InvoiceRequestFields::features
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Apr 2024 17:13:12 +0000 (12:13 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 29 Apr 2024 17:27:39 +0000 (12:27 -0500)
commit33b6162fd23a3010bb12b608ce0b93e88510060c
treeb20c3450ddf05aa75ebf150f6d2bc6372bde0d53
parent7b864425ea884f816b3801cd1b4fdb99d95a4e36
Remove InvoiceRequestFields::features

InvoiceRequestFeatures may contain a large, odd bit. Including this in
InvoiceRequestFields, which is in each BlindedPath of a Bolt12Invoice,
could cause the invoice's onion message to exceed the maximum size. The
features are already checked before sending an invoice.
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice_request.rs