Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
protocol: Use info log level over debug for is_blocked
Fintan Halpenny committed 2 months ago
commit 1c7af9fff5bcde4ff29ebc9316608abaabd1112a
parent 5133ac0dc8fd0b3aa6ab873bba38c21893c83279
1 file changed +1 -1
modified crates/radicle-protocol/src/service.rs
@@ -1225,7 +1225,7 @@ where
        self.emitter.emit(Event::PeerConnected { nid: remote });

        if let Ok(true) = self.policies.is_blocked(&remote) {
-
            debug!(target: "service", "Disconnecting blocked peer {remote}");
+
            info!(target: "service", "Disconnecting blocked peer {remote}");
            self.outbox.disconnect(remote, DisconnectReason::Policy);
            return;
        }