X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Fmod.rs;h=b5e433270a51ac9d6a363c9152f4f485fbbe39b2;hb=801d6e5256d6ac91d5d5668da1fa5a2b55303246;hp=5576d8bd057c84773c4e634b9fbe51f2af40028c;hpb=a369f9e64e4e5bdc26b4d0b7bd11c3935916bb6f;p=rust-lightning diff --git a/lightning/src/ln/mod.rs b/lightning/src/ln/mod.rs index 5576d8bd..b5e43327 100644 --- a/lightning/src/ln/mod.rs +++ b/lightning/src/ln/mod.rs @@ -40,7 +40,7 @@ pub mod channel; mod channel; mod onion_utils; -mod wire; +pub mod wire; // Older rustc (which we support) refuses to let us call the get_payment_preimage_hash!() macro // without the node parameter being mut. This is incorrect, and thus newer rustcs will complain @@ -53,6 +53,7 @@ mod functional_tests; #[allow(unused_mut)] mod chanmon_update_fail_tests; #[cfg(test)] +#[allow(unused_mut)] mod reorg_tests; #[cfg(test)] #[allow(unused_mut)] @@ -60,6 +61,9 @@ mod onion_route_tests; #[cfg(test)] #[allow(unused_mut)] mod monitor_tests; +#[cfg(test)] +#[allow(unused_mut)] +mod shutdown_tests; pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;