]> git.bitcoin.ninja Git - rust-lightning/commit
Check if invoices contain unknown required features
authorMatt Corallo <git@bluematt.me>
Sun, 22 Aug 2021 19:54:08 +0000 (19:54 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 31 Aug 2021 21:29:51 +0000 (21:29 +0000)
commita4a54ed9dfd8e6c725c2fdc5961cfe6b815fa958
tree51ad819afb9f1bb1a9787294ba1403fbb21dcd3a
parent0be428eeda30e449b251e74bc330342abe3ef0c5
Check if invoices contain unknown required features

This adds the final missing BOLT 11 failure test, checking for
unknown required feature flags before accepting an invoice.
lightning-invoice/src/lib.rs
lightning-invoice/tests/ser_de.rs
lightning/src/ln/features.rs