From da5f1cfd37bf3a2a722ac7054777c98dc71b9a55 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 18 Jan 2024 13:56:06 +0100 Subject: [PATCH] f Fix OM types exposed under different paths --- src/types.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/types.rs b/src/types.rs index b5926cb99..3c6104db5 100644 --- a/src/types.rs +++ b/src/types.rs @@ -102,7 +102,7 @@ pub(crate) type GossipSync = lightning_background_processor::GossipSync< Arc, >; -pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger< +pub(crate) type OnionMessenger = lightning::onion_message::messenger::OnionMessenger< Arc, Arc, Arc, @@ -113,11 +113,11 @@ pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger< pub(crate) struct FakeMessageRouter {} -impl lightning::onion_message::MessageRouter for FakeMessageRouter { +impl lightning::onion_message::messenger::MessageRouter for FakeMessageRouter { fn find_path( &self, _sender: PublicKey, _peers: Vec, - _destination: lightning::onion_message::Destination, - ) -> Result { + _destination: lightning::onion_message::messenger::Destination, + ) -> Result { unimplemented!() } fn create_blinded_paths<