Kaynağa Gözat

drk/rpc: removed duplicate log message

skoupidi 1 yıl önce
ebeveyn
işleme
9cf112f1e0
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      bin/drk/src/rpc.rs

+ 0 - 1
bin/drk/src/rpc.rs

@@ -395,7 +395,6 @@ impl Drk {
 
 
             while height <= last_height {
             while height <= last_height {
                 let mut buf = vec![format!("Requesting block {height}...")];
                 let mut buf = vec![format!("Requesting block {height}...")];
-                buf.push(format!("Requesting block {height}..."));
                 let block = match self.get_block_by_height(height).await {
                 let block = match self.get_block_by_height(height).await {
                     Ok(b) => b,
                     Ok(b) => b,
                     Err(e) => {
                     Err(e) => {