Merge pull request #447 from ariard/2020-01-fix-weight-computation
[rust-lightning] / lightning / src / ln / features.rs
index 816bf1dff1465d578d4e0dae7ae0b962a62a7782..c334074871eb486a924da2eabdde30865dc55e22 100644 (file)
@@ -67,14 +67,6 @@ pub type ChannelFeatures = Features<sealed::ChannelContext>;
 
 impl InitFeatures {
        /// Create a Features with the features we support
-       #[cfg(not(feature = "fuzztarget"))]
-       pub(crate) fn supported() -> InitFeatures {
-               InitFeatures {
-                       flags: vec![2 | 1 << 5],
-                       mark: PhantomData,
-               }
-       }
-       #[cfg(feature = "fuzztarget")]
        pub fn supported() -> InitFeatures {
                InitFeatures {
                        flags: vec![2 | 1 << 5],