Browse Source

outbound_session: downgrade host if we fail to connect

lunar-mining 2 years ago
parent
commit
63619cf061
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/net/session/outbound_session.rs

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

@@ -311,7 +311,7 @@ impl Slot {
                     });
 
                     // Downgrade this host to greylist if it's on the whitelist or anchorlist.
-                    //self.session().downgrade_host(&host).await;
+                    hosts.downgrade_host(&host).await;
 
                     self.channel_id.store(0, Ordering::Relaxed);
                     continue