Просмотр исходного кода

doc: fix misleading comment in net/session/outbound_session.rs

darkfi 1 год назад
Родитель
Сommit
d7abfcf764
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/net/session/outbound_session.rs

+ 1 - 1
src/net/session/outbound_session.rs

@@ -366,7 +366,7 @@ impl Slot {
                     addr, slot
                     addr, slot
                 );
                 );
 
 
-                // At this point we failed to connect. We'll downgrade this peer now.
+                // Peer disconnected during the registry process. We'll downgrade this peer now.
                 self.p2p().hosts().move_host(&addr, last_seen, HostColor::Grey)?;
                 self.p2p().hosts().move_host(&addr, last_seen, HostColor::Grey)?;
 
 
                 // Mark its state as Suspend, which sends this node to the Refinery for processing.
                 // Mark its state as Suspend, which sends this node to the Refinery for processing.