Remove unused type

This commit is contained in:
Daniel Karzel 2021-01-18 21:27:59 +11:00
parent 3398ef8236
commit e56c48ee23
2 changed files with 0 additions and 4 deletions

View File

@ -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),

View File

@ -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),