Remove unused type

pull/147/head
Daniel Karzel 4 years ago
parent 3398ef8236
commit e56c48ee23

@ -206,8 +206,6 @@ fn init_alice_event_loop(
EventLoop::new(alice_transport, alice_behaviour, listen, peer_id)
}
pub type Swarm = libp2p::Swarm<Behaviour>;
#[derive(Debug)]
pub enum OutEvent {
ConnectionEstablished(PeerId),

@ -44,8 +44,6 @@ pub struct Swap {
pub swap_id: Uuid,
}
pub type Swarm = libp2p::Swarm<Behaviour>;
#[derive(Debug, Clone)]
pub enum OutEvent {
ConnectionEstablished(PeerId),

Loading…
Cancel
Save