chore(github): use codespell to inspect and correct spelling issues (#7775)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Delweng
2024-04-24 05:32:59 +08:00
committed by GitHub
parent 665e67ec7c
commit 7a593882e1
28 changed files with 55 additions and 34 deletions

View File

@ -399,7 +399,7 @@ impl<T: TransactionOrdering> PendingPool<T> {
unique_senders = self.highest_nonces.len();
non_local_senders -= unique_removed;
// we can re-use the temp array
// we can reuse the temp array
removed.clear();
// loop through the highest nonces set, removing transactions until we reach the limit

View File

@ -1766,8 +1766,8 @@ pub(crate) struct PoolInternalTransaction<T: PoolTransaction> {
pub(crate) transaction: Arc<ValidPoolTransaction<T>>,
/// The `SubPool` that currently contains this transaction.
pub(crate) subpool: SubPool,
/// Keeps track of the current state of the transaction and therefor in which subpool it should
/// reside
/// Keeps track of the current state of the transaction and therefore in which subpool it
/// should reside
pub(crate) state: TxState,
/// The total cost all transactions before this transaction.
///