Add a new NodeFeatures constructor to capture the types of flags
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 7d09a5b81a839241d13003f2f4d9a947cf44b808..7495af879c7719aa59fba83418823e90255666f3 100644 (file)
@@ -6122,7 +6122,7 @@ impl<Signer: Sign, M: Deref , T: Deref , K: Deref , F: Deref , L: Deref >
        }
 
        fn provided_node_features(&self) -> NodeFeatures {
-               NodeFeatures::known()
+               NodeFeatures::known_channel_features()
        }
 
        fn provided_init_features(&self, _their_init_features: &PublicKey) -> InitFeatures {