Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
correct clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
musitdev committed Jan 24, 2024
1 parent aee1b58 commit 6cf6fc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/cli/localkey.pki
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ɓ�a���1)�0�uT�dz!}�����
2 changes: 1 addition & 1 deletion crates/node/src/networking/download_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use tokio_util::io::ReaderStream;
//start the local server and serve the specified file path.
//Return the server task join handle.
pub async fn serve_files(config: &Config) -> Result<JoinHandle<()>> {
let mut bind_addr = config.p2p_listen_addr.clone();
let mut bind_addr = config.p2p_listen_addr;
bind_addr.set_port(config.http_download_port);
let listener = TcpListener::bind(bind_addr).await?;

Expand Down

0 comments on commit 6cf6fc3

Please sign in to comment.