Skip to content

Commit fe083e5

Browse files
committed
chore: lint
allow many arguments is a temprarily fix, this will be soled in #1768
1 parent faa6484 commit fe083e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: crates/networking/p2p/net.rs

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ pub fn peer_table(signer: SigningKey) -> Arc<Mutex<KademliaTable>> {
5353
Arc::new(Mutex::new(KademliaTable::new(local_node_id)))
5454
}
5555

56+
#[allow(clippy::too_many_arguments)]
5657
pub async fn start_network(
5758
local_node: Node,
5859
tracker: TaskTracker,
@@ -91,6 +92,7 @@ pub async fn start_network(
9192
));
9293
}
9394

95+
#[allow(clippy::too_many_arguments)]
9496
async fn discover_peers(
9597
local_node: Node,
9698
tracker: TaskTracker,
@@ -150,6 +152,7 @@ async fn discover_peers(
150152
));
151153
}
152154

155+
#[allow(clippy::too_many_arguments)]
153156
async fn discover_peers_server(
154157
local_node: Node,
155158
tracker: TaskTracker,

0 commit comments

Comments
 (0)