mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 19:48:19 +00:00
fix lint
This commit is contained in:
@@ -1520,8 +1520,8 @@ impl Connection {
|
||||
/// by both peers.
|
||||
pub fn is_multipath_enabled(&self) -> bool {
|
||||
!self.is_handshaking()
|
||||
&& self.handshake_cid.len() > 0
|
||||
&& self.rem_handshake_cid.len() > 0
|
||||
&& !self.handshake_cid.is_empty()
|
||||
&& !self.rem_handshake_cid.is_empty()
|
||||
&& self.config.initial_max_path_id.is_some()
|
||||
&& self.peer_params.initial_max_path_id.is_some()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user