From 86280d0a47cf2ab35c6598a417d2253158e47bd7 Mon Sep 17 00:00:00 2001 From: daltoncoder Date: Mon, 18 Sep 2023 14:43:09 -0400 Subject: [PATCH] Clippy --- core/application/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/application/src/state.rs b/core/application/src/state.rs index 6af875f38..4b6240a18 100644 --- a/core/application/src/state.rs +++ b/core/application/src/state.rs @@ -1137,7 +1137,7 @@ impl State { let committee_size = self.parameters.get(&ProtocolParams::CommitteeSize).unwrap(); let num_of_nodes = node_registry.len() as u128; // if total number of nodes are less than committee size, all nodes are part of committee - if committee_size >= num_of_nodes.into() { + if committee_size >= num_of_nodes { return node_registry; }