Skip to content

Commit 5794ee8

Browse files
committed
fix: missing !
1 parent b6ea099 commit 5794ee8

File tree

1 file changed

+1
-1
lines changed
  • stackslib/src/net/neighbors

1 file changed

+1
-1
lines changed

stackslib/src/net/neighbors/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub trait NeighborWalkDB {
242242
let mut next_neighbors: Vec<_> = db_neighbors
243243
.into_iter()
244244
.filter_map(|neighbor| {
245-
if network.get_connection_opts().private_neighbors
245+
if !network.get_connection_opts().private_neighbors
246246
&& neighbor.addr.addrbytes.is_in_private_range()
247247
{
248248
None

0 commit comments

Comments
 (0)