]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Expose `DefaultMessageRouter`
authorElias Rohrer <dev@tnull.de>
Fri, 7 Jul 2023 13:08:01 +0000 (15:08 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 7 Jul 2023 13:47:02 +0000 (15:47 +0200)
lightning/src/onion_message/mod.rs

index 556ae89820bd33116ec672535a35ea3a79cd1fc4..806f832ff73f557de046d08ebe67e5d87e0a028f 100644 (file)
@@ -27,6 +27,6 @@ mod packet;
 mod functional_tests;
 
 // Re-export structs so they can be imported with just the `onion_message::` module prefix.
 mod functional_tests;
 
 // Re-export structs so they can be imported with just the `onion_message::` module prefix.
-pub use self::messenger::{CustomOnionMessageContents, CustomOnionMessageHandler, Destination, MessageRouter, OnionMessageContents, OnionMessagePath, OnionMessenger, SendError, SimpleArcOnionMessenger, SimpleRefOnionMessenger};
+pub use self::messenger::{CustomOnionMessageContents, CustomOnionMessageHandler, DefaultMessageRouter, Destination, MessageRouter, OnionMessageContents, OnionMessagePath, OnionMessenger, SendError, SimpleArcOnionMessenger, SimpleRefOnionMessenger};
 pub use self::offers::{OffersMessage, OffersMessageHandler};
 pub(crate) use self::packet::{ControlTlvs, Packet};
 pub use self::offers::{OffersMessage, OffersMessageHandler};
 pub(crate) use self::packet::{ControlTlvs, Packet};