File tree Expand file tree Collapse file tree
crates/core/src/transport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ impl ControlChannels {
225225 /// Process a single incoming `ControlMessage`.
226226 ///
227227 /// Returns `Some(exit_reason)` if the loop should terminate.
228+ // REASON: dispatches all control message variants with inline handling
229+ #[ allow( clippy:: too_many_lines) ]
228230 async fn handle_message (
229231 & mut self ,
230232 stream : & mut BoxBiStream ,
@@ -311,6 +313,7 @@ impl ControlChannels {
311313 announcement. name ,
312314 announcement. addr ,
313315 role,
316+ wallhack_wire:: data:: Capabilities :: default ( ) ,
314317 crate :: control:: peers:: ConnectionSide :: Accept ,
315318 ) ;
316319 }
@@ -322,7 +325,7 @@ impl ControlChannels {
322325 ) ;
323326 registry. unregister ( & announcement. name ) ;
324327 }
325- _ => { }
328+ peer_announcement :: Event :: Unspecified => { }
326329 }
327330 }
328331 }
You can’t perform that action at this time.
0 commit comments