Correctly detect missing HTLCs when a local commitment tx was broadcast
[rust-lightning] / lightning / src / ln / mod.rs
index 3de0595d295e037d7810ff8ff31899ae29a6dafc..f1ba914cabd81caeebce00f427fb0cd755504fca 100644 (file)
@@ -52,6 +52,9 @@ mod reorg_tests;
 #[cfg(test)]
 #[allow(unused_mut)]
 mod onion_route_tests;
+#[cfg(test)]
+#[allow(unused_mut)]
+mod monitor_tests;
 
 pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;
 
@@ -68,6 +71,7 @@ pub struct PaymentPreimage(pub [u8;32]);
 #[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
 pub struct PaymentSecret(pub [u8;32]);
 
+use prelude::*;
 use bitcoin::bech32;
 use bitcoin::bech32::{Base32Len, FromBase32, ToBase32, WriteBase32, u5};