Refactor features a bit more to describe what the constructors do
[rust-lightning] / lightning / src / ln / channel.rs
index a1ca587feea6623dd6984b37ca4fd1ecee4d185e..09b5a2040bfa49fff9b44bac885e4d4b1a904a5b 100644 (file)
@@ -3225,7 +3225,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
                let our_bitcoin_key = PublicKey::from_secret_key(&self.secp_ctx, self.local_keys.funding_key());
 
                let msg = msgs::UnsignedChannelAnnouncement {
-                       features: ChannelFeatures::new(),
+                       features: ChannelFeatures::supported(),
                        chain_hash: chain_hash,
                        short_channel_id: self.get_short_channel_id().unwrap(),
                        node_id_1: if were_node_one { our_node_id } else { self.get_their_node_id() },