Add a new InitFeatures constructor to capture the types of flags
[rust-lightning] / lightning / src / util / test_utils.rs
index a5389f92b50194a2e90e0c0dfaa3fa3006897cb4..7c7aeb5d44f03da527b549f6d816c0ae1a3fce3b 100644 (file)
@@ -361,7 +361,7 @@ impl msgs::ChannelMessageHandler for TestChannelMessageHandler {
                NodeFeatures::empty()
        }
        fn provided_init_features(&self, _their_init_features: &PublicKey) -> InitFeatures {
-               InitFeatures::known()
+               InitFeatures::known_channel_features()
        }
 }