Explorar o código

lilith: fix logic error that was causing responsive nodes to be sent to greylist

draoi %!s(int64=2) %!d(string=hai) anos
pai
achega
df8c1a8e86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/lilith/src/main.rs

+ 1 - 1
bin/lilith/src/main.rs

@@ -197,7 +197,7 @@ impl Lilith {
                         continue
                     }
 
-                    if p2p.session_refine().handshake_node(url.clone(), p2p.clone()).await {
+                    if !p2p.session_refine().handshake_node(url.clone(), p2p.clone()).await {
                         debug!(target: "net::refinery:::whitelist_refinery",
                        "Host {} is not responsive. Downgrading from whitelist", url);