Fix new nightly clippy issues (#1604)

* clipy

* revert some fixes that newest clippy reports as issues, but older does not
This commit is contained in:
Svyatoslav Nikolsky
2022-10-18 13:59:52 +03:00
committed by Bastian Köcher
parent 6c26aae035
commit 9e1847d12a
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ pub fn make_justification_for_header<H: HeaderT>(
};
// Note: Adding 1 to account for the target header
let chain = generate_chain(i as u32, depth + 1, &header);
let chain = generate_chain(i, depth + 1, &header);
// We don't include our finality target header in the vote ancestries
for child in &chain[1..] {