mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 12:11:20 +00:00
remove commented line
This commit is contained in:
parent
c895ec386a
commit
5ff311d38d
@ -354,7 +354,6 @@ mod tests {
|
||||
|
||||
// Split the list of nodes at the first connected node.
|
||||
let first_connected_pos = nodes.iter().position(|(s, _)| *s == NodeStatus::Connected);
|
||||
/* assert_eq!(bucket.first_connected_pos, first_connected_pos); */
|
||||
let tail = first_connected_pos.map_or(Vec::new(), |p| nodes.split_off(p));
|
||||
|
||||
// All nodes before the first connected node must be disconnected and
|
||||
|
Loading…
x
Reference in New Issue
Block a user