From 09541d82c1a787389d1680e7e673cbc5af00e386 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Wed, 8 Nov 2023 19:35:19 +0200 Subject: [PATCH] Fix peer banning (missing return) --- crates/subspace-networking/src/node_runner.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/subspace-networking/src/node_runner.rs b/crates/subspace-networking/src/node_runner.rs index 155612791d..dcf82f90cf 100644 --- a/crates/subspace-networking/src/node_runner.rs +++ b/crates/subspace-networking/src/node_runner.rs @@ -699,6 +699,7 @@ where ); self.ban_peer(peer_id); + return; } if info.listen_addrs.len() > 30 {