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

chore: remove artifact from protocol_version

draoi 2 лет назад
Родитель
Сommit
cbfef54aab
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      src/net/protocol/protocol_version.rs

+ 0 - 3
src/net/protocol/protocol_version.rs

@@ -76,8 +76,6 @@ impl ProtocolVersion {
                 self.channel.address(), e,
             );
 
-            // Remove from hosts
-            //self.hosts.remove(self.channel.address()).await;
             self.channel.stop().await;
             return Err(Error::ChannelTimeout)
         }
@@ -151,7 +149,6 @@ impl ProtocolVersion {
                 self.channel.address(),
             );
 
-            //self.hosts.remove(self.channel.address()).await;
             self.channel.stop().await;
             return Err(Error::ChannelStopped)
         }