Skip to content

Commit

Permalink
Merge pull request #2210 from subspace/fix-peer-ban
Browse files Browse the repository at this point in the history
Fix peer banning (missing return)
  • Loading branch information
nazar-pc authored Nov 8, 2023
2 parents 0905475 + 09541d8 commit 53dca16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/subspace-networking/src/node_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ where
);

self.ban_peer(peer_id);
return;
}

if info.listen_addrs.len() > 30 {
Expand Down

0 comments on commit 53dca16

Please sign in to comment.