fix clippy issues (#991)

This commit is contained in:
Svyatoslav Nikolsky
2021-06-08 14:33:48 +03:00
committed by Bastian Köcher
parent cab4c7cd05
commit 812e782904
14 changed files with 32 additions and 27 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ pub fn make_justification_for_header<H: HeaderT>(params: JustificationGeneratorP
for (i, (id, _weight)) in authorities.iter().enumerate() {
// Assign authorities to sign pre-commits in a round-robin fashion
let target = unsigned_precommits[i % forks as usize];
let precommit = signed_precommit::<H>(&id, target, round, set_id);
let precommit = signed_precommit::<H>(id, target, round, set_id);
precommits.push(precommit);
}