]> git.bitcoin.ninja Git - rust-lightning/commit
Stop relying on the `*Features::known` method in lightning-invoice
authorMatt Corallo <git@bluematt.me>
Mon, 12 Sep 2022 19:20:38 +0000 (19:20 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:09:35 +0000 (20:09 +0000)
commit4846570807e94b02b41367d4e91c85d7dbddf578
treeb2e96adcb9c2b8d14d2166f910621617989a1607
parent32b5d843d975fe2a0b8efd0d3d370903c89eeeb5
Stop relying on the `*Features::known` method in lightning-invoice

As we move towards specify supported/required feature bits in the
module(s) where they are supported, the global `known` feature set
constructors no longer make sense.

Here we stop relying on the `known` method in the
`lightning-invoice` crate.
lightning-invoice/src/lib.rs
lightning-invoice/src/payment.rs
lightning-invoice/src/utils.rs