Spellling corrections (no code changes) (#8971)

* Spelling corrections

* As this might break let's do as a separate PR
This commit is contained in:
Squirrel
2021-06-01 11:51:38 +01:00
committed by GitHub
parent 7a284fcf1d
commit c0dfe2c382
9 changed files with 19 additions and 19 deletions
@@ -240,7 +240,7 @@ impl<Hash: hash::Hash + Member + Serialize, Ex> ReadyTransactions<Hash, Ex> {
self.ready.read().contains_key(hash)
}
/// Retrive transaction by hash
/// Retrieve transaction by hash
pub fn by_hash(&self, hash: &Hash) -> Option<Arc<Transaction<Hash, Ex>>> {
self.by_hashes(&[hash.clone()]).into_iter().next().unwrap_or(None)
}
@@ -155,7 +155,7 @@ impl<B: ChainApi> ValidatedPool<B> {
/// A fast check before doing any further processing of a transaction, like validation.
///
/// If `ingore_banned` is `true`, it will not check if the transaction is banned.
/// If `ignore_banned` is `true`, it will not check if the transaction is banned.
///
/// It checks if the transaction is already imported or banned. If so, it returns an error.
pub fn check_is_known(