Merge pull request #1398 from jkczyz/2022-03-middle-hop-fix
[rust-lightning] / lightning / src / ln / mod.rs
index a2a0b4efee2f32418fcdf503a1c5c4b0db0daccc..444c9685fdda6979708fdee6eb26797b0ddfe040 100644 (file)
@@ -29,15 +29,15 @@ pub mod chan_utils;
 pub mod features;
 pub mod script;
 
-#[cfg(feature = "fuzztarget")]
+#[cfg(fuzzing)]
 pub mod peer_channel_encryptor;
-#[cfg(not(feature = "fuzztarget"))]
+#[cfg(not(fuzzing))]
 pub(crate) mod peer_channel_encryptor;
 
-#[cfg(feature = "fuzztarget")]
+#[cfg(fuzzing)]
 pub mod channel;
-#[cfg(not(feature = "fuzztarget"))]
-mod channel;
+#[cfg(not(fuzzing))]
+pub(crate) mod channel;
 
 mod onion_utils;
 pub mod wire;
@@ -54,6 +54,9 @@ mod functional_tests;
 mod payment_tests;
 #[cfg(test)]
 #[allow(unused_mut)]
+mod priv_short_conf_tests;
+#[cfg(test)]
+#[allow(unused_mut)]
 mod chanmon_update_fail_tests;
 #[cfg(test)]
 #[allow(unused_mut)]