Export Onion Message structs in their respective modules
[rust-lightning] / lightning-rapid-gossip-sync / src / lib.rs
index af235b1c4224d990f2a1d71881ab23e659d61e28..0423e05edb164f37803606d2bbafadd60039e834 100644 (file)
@@ -78,10 +78,10 @@ use lightning::io;
 use lightning::routing::gossip::NetworkGraph;
 use lightning::util::logger::Logger;
 
-pub use crate::error::GraphSyncError;
+use crate::error::GraphSyncError;
 
 /// Error types that these functions can return
-mod error;
+pub mod error;
 
 /// Core functionality of this crate
 mod processing;