What changed, and why it matters
This commit adds a single Rust lint suppression comment to silence a Clippy warning about a function having too many arguments. It does not change any executable code, behavior, or data flow. There is no security relevance.
No action required. This is a non-functional lint suppression with no security implications.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff inserts #[allow(clippy::too_many_arguments)] above VersionMessage::new() in p2p/src/message_network.rs. This is a compile-time lint directive only; it does not alter the function signature, logic, or generated code. It is purely a code-quality/maintainer-convenience change.
Changed components
p2p/src/message_network.rsInspect captured patch +1 / −0
diff --git a/p2p/src/message_network.rs b/p2p/src/message_network.rs
index 7ff700f1..c463add6 100644
--- a/p2p/src/message_network.rs
+++ b/p2p/src/message_network.rs
@@ -56,6 +56,7 @@ pub struct VersionMessage {
impl VersionMessage {
/// Constructs a new `version` message with `relay` set to false
+ #[allow(clippy::too_many_arguments)]
pub fn new(
version: ProtocolVersion,
services: ServiceFlags,
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.