Fix spellcheck (#1110)

* fix spellcheck

* invariants
This commit is contained in:
Svyatoslav Nikolsky
2021-09-03 18:55:56 +03:00
committed by Bastian Köcher
parent 5c71f0e996
commit 88fa487631
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ use sp_std::{collections::btree_map::BTreeMap, prelude::*};
/// If successful, returns tuple where first element is the number of useful headers
/// we have imported and the second element is the number of useless headers (duplicate)
/// we have NOT imported.
/// Returns error if fatal error has occured during import. Some valid headers may be
/// Returns error if fatal error has occurred during import. Some valid headers may be
/// imported in this case.
/// TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/415)
#[allow(clippy::too_many_arguments)]
+1 -1
View File
@@ -63,7 +63,7 @@ const MAX_VALIDATOR_SET_SIZE: u32 = 1024;
/// Returns number of first header to be imported.
///
/// Since we boostrap the pallet with `HeadersToKeep` already imported headers,
/// Since we bootstrap the pallet with `HeadersToKeep` already imported headers,
/// this function computes the next expected header number to import.
fn header_number<T: Config<I>, I: 'static, N: From<u32>>() -> N {
(T::HeadersToKeep::get() + 1).into()