From: Elias Rohrer Date: Fri, 7 Jul 2023 13:08:01 +0000 (+0200) Subject: Expose `DefaultMessageRouter` X-Git-Tag: v0.0.116-rc1~17^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=73ba28d8e4efca44a6c4848c06697661988e6931;p=rust-lightning Expose `DefaultMessageRouter` --- diff --git a/lightning/src/onion_message/mod.rs b/lightning/src/onion_message/mod.rs index 556ae8982..806f832ff 100644 --- a/lightning/src/onion_message/mod.rs +++ b/lightning/src/onion_message/mod.rs @@ -27,6 +27,6 @@ mod packet; 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};