]> git.bitcoin.ninja Git - rust-lightning/commit
Stop relying on `*Features::known` in channel{,manager}.rs
authorMatt Corallo <git@bluematt.me>
Thu, 8 Sep 2022 21:24:34 +0000 (21:24 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:09:35 +0000 (20:09 +0000)
commit32b5d843d975fe2a0b8efd0d3d370903c89eeeb5
treeb3dbcd92f9929b28f00e4bf9a3bed959486b4e72
parentc1d8cb9710c7a430ba68a32c26d8ceb88007ff14
Stop relying on `*Features::known` in channel{,manager}.rs

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 channel modules.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs