From 0c7b6479b0f05d3ad639eb457f52c10eb18d6105 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Mon, 6 Nov 2023 10:42:50 -0800 Subject: [PATCH] export create_onion_message and peel_onion_message from ln::onion_message --- lightning/src/onion_message/mod.rs | 1 + 1 file changed, 1 insertion(+) 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}; -- 2.39.5