]> git.bitcoin.ninja Git - rust-lightning/commit
Stop relying on the `*Features::known` method in net-tokio
authorMatt Corallo <git@bluematt.me>
Fri, 9 Sep 2022 02:34:27 +0000 (02:34 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:09:35 +0000 (20:09 +0000)
commit10b471d440a7d4c6009b82f52a200ab0413ffd00
tree0e68aef82f3b3f3a47b9de434e9e57031944f40f
parent4846570807e94b02b41367d4e91c85d7dbddf578
Stop relying on the `*Features::known` method in net-tokio

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-net-tokio` crate.
lightning-net-tokio/src/lib.rs