]> git.bitcoin.ninja Git - rust-lightning/commit
Stop relying on `*Features::known` in BP and persister tests
authorMatt Corallo <git@bluematt.me>
Fri, 9 Sep 2022 04:00:33 +0000 (04:00 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:09:36 +0000 (20:09 +0000)
commitd33f7268fb533868eef7e71181b696501f6d1005
tree1f047883ff3a6e2a7d4f5ca409a9a536bd88f2b4
parent10b471d440a7d4c6009b82f52a200ab0413ffd00
Stop relying on `*Features::known` in BP and persister tests

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-background-processor` and `lightning-persister` crate
tests.
lightning-background-processor/src/lib.rs
lightning-persister/src/lib.rs