From: Evan Feenstra Date: Mon, 6 Nov 2023 18:42:50 +0000 (-0800) Subject: export create_onion_message and peel_onion_message from ln::onion_message X-Git-Tag: v0.0.119~63^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0c7b6479b0f05d3ad639eb457f52c10eb18d6105;p=rust-lightning export create_onion_message and peel_onion_message from ln::onion_message --- diff --git a/lightning/src/onion_message/mod.rs b/lightning/src/onion_message/mod.rs index ff6e0cd8e..d106a542f 100644 --- a/lightning/src/onion_message/mod.rs +++ b/lightning/src/onion_message/mod.rs @@ -28,6 +28,7 @@ mod functional_tests; // Re-export structs so they can be imported with just the `onion_message::` module prefix. pub use self::messenger::{CustomOnionMessageHandler, DefaultMessageRouter, Destination, MessageRouter, OnionMessageContents, OnionMessagePath, OnionMessenger, PeeledOnion, PendingOnionMessage, SendError}; +pub use self::messenger::{create_onion_message, peel_onion_message}; #[cfg(not(c_bindings))] pub use self::messenger::{SimpleArcOnionMessenger, SimpleRefOnionMessenger}; pub use self::offers::{OffersMessage, OffersMessageHandler};