From 5fe95ebae7c134491b198dd60518484425365fb2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Feb 2021 12:18:01 +0100 Subject: [PATCH] fix tracing --- src/model/block.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/model/block.rs b/src/model/block.rs index 2a991623..0e1863cb 100644 --- a/src/model/block.rs +++ b/src/model/block.rs @@ -334,7 +334,7 @@ impl BlockManager { } if need_nodes.len() > 0 { - trace!("Block {:?} neede by {} nodes, sending", hash, need_nodes.len()); + trace!("Block {:?} needed by {} nodes, sending", hash, need_nodes.len()); let put_block_message = Arc::new(self.read_block(hash).await?); let put_resps = join_all(need_nodes.iter().map(|to| { @@ -436,7 +436,6 @@ impl BlockManager { Err(_) => continue, }; let ent_type = data_dir_ent.file_type().await?; - println!("name: {}, path: {:?}", name, data_dir_ent.path().to_str()); if name.len() == 2 && hex::decode(&name).is_ok() && ent_type.is_dir() { self.repair_aux_read_dir_rec(&data_dir_ent.path(), must_exit).await?;