Skip to content

Commit

Permalink
f Fix OM types exposed under different paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jan 18, 2024
1 parent a80f6aa commit da5f1cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub(crate) type GossipSync = lightning_background_processor::GossipSync<
Arc<FilesystemLogger>,
>;

pub(crate) type OnionMessenger = lightning::onion_message::OnionMessenger<
pub(crate) type OnionMessenger = lightning::onion_message::messenger::OnionMessenger<
Arc<KeysManager>,
Arc<KeysManager>,
Arc<FilesystemLogger>,
Expand All @@ -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<PublicKey>,
_destination: lightning::onion_message::Destination,
) -> Result<lightning::onion_message::OnionMessagePath, ()> {
_destination: lightning::onion_message::messenger::Destination,
) -> Result<lightning::onion_message::messenger::OnionMessagePath, ()> {
unimplemented!()
}
fn create_blinded_paths<
Expand Down

0 comments on commit da5f1cf

Please sign in to comment.