unused peerconnection removed
This commit is contained in:
@@ -282,7 +282,6 @@ pub enum PeerCommand {
|
||||
file_descriptions: Vec<GameFileDescription>,
|
||||
},
|
||||
SetGameDir(String),
|
||||
ConnectToPeer(SocketAddr),
|
||||
}
|
||||
|
||||
async fn initial_peer_alive_check(conn: &mut Connection) -> bool {
|
||||
@@ -868,10 +867,6 @@ pub async fn run_peer(
|
||||
PeerCommand::SetGameDir(game_dir) => {
|
||||
handle_set_game_dir_command(&ctx, game_dir).await;
|
||||
}
|
||||
PeerCommand::ConnectToPeer(peer_addr) => {
|
||||
log::info!("Connecting to peer: {peer_addr}");
|
||||
// TODO: Implement direct peer connection
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user