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)
}