Преглед изворни кода

outbound_session: downgrade host if we fail to connect

lunar-mining пре 2 година
родитељ
комит
63619cf061
1 измењених фајлова са 1 додато и 1 уклоњено
  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