fix some typos (#3587)

Signed-off-by: cuinix <915115094@qq.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
cuinix
2024-03-09 05:28:04 +08:00
committed by GitHub
parent 1fe3c5f23b
commit ea458d0b95
19 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ pub fn make_justification_for_header<H: HeaderT>(
votes_ancestries.push(child.clone());
}
// The header we need to use when pre-commiting is the one at the highest height
// The header we need to use when pre-committing is the one at the highest height
// on our chain.
let precommit_candidate = chain.last().map(|h| (h.hash(), *h.number())).unwrap();
unsigned_precommits.push(precommit_candidate);