Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
daltoncoder committed Sep 18, 2023
1 parent 0bb3262 commit 86280d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/application/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ impl<B: Backend> State<B> {
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;
}

Expand Down

0 comments on commit 86280d0

Please sign in to comment.