Move `broadcast_node_announcement` to `PeerManager`
[rust-lightning] / lightning / src / lib.rs
index 450727107357b8fb8a6c4956303143f096fada44..1000966d5a5b8ecca943fc7b7c2ef9642b027b9b 100644 (file)
@@ -79,8 +79,7 @@ pub mod util;
 pub mod chain;
 pub mod ln;
 pub mod routing;
-#[allow(unused)]
-mod onion_message; // To be exposed after sending/receiving OMs is supported in PeerManager.
+pub mod onion_message;
 
 #[cfg(feature = "std")]
 /// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.