Przeglądaj źródła

drk/rpc: removed duplicate log message

skoupidi 1 rok temu
rodzic
commit
9cf112f1e0
1 zmienionych plików z 0 dodań i 1 usunięć
  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 {
                 let mut buf = vec![format!("Requesting block {height}...")];
-                buf.push(format!("Requesting block {height}..."));
                 let block = match self.get_block_by_height(height).await {
                     Ok(b) => b,
                     Err(e) => {