From e56c48ee234202cbf8cfd436745bf10438c3b436 Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Mon, 18 Jan 2021 21:27:59 +1100 Subject: [PATCH] Remove unused type --- swap/src/protocol/alice.rs | 2 -- swap/src/protocol/bob.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/swap/src/protocol/alice.rs b/swap/src/protocol/alice.rs index bf06aa47..04ff737b 100644 --- a/swap/src/protocol/alice.rs +++ b/swap/src/protocol/alice.rs @@ -206,8 +206,6 @@ fn init_alice_event_loop( EventLoop::new(alice_transport, alice_behaviour, listen, peer_id) } -pub type Swarm = libp2p::Swarm; - #[derive(Debug)] pub enum OutEvent { ConnectionEstablished(PeerId), diff --git a/swap/src/protocol/bob.rs b/swap/src/protocol/bob.rs index abee4425..fb2f09aa 100644 --- a/swap/src/protocol/bob.rs +++ b/swap/src/protocol/bob.rs @@ -44,8 +44,6 @@ pub struct Swap { pub swap_id: Uuid, } -pub type Swarm = libp2p::Swarm; - #[derive(Debug, Clone)] pub enum OutEvent { ConnectionEstablished(PeerId),