From d17ae1a7c383220377279e654c253d2354f322e7 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Fri, 9 Aug 2024 00:16:04 +0000 Subject: [PATCH] feedback --- core/src/banking_stage/consumer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/banking_stage/consumer.rs b/core/src/banking_stage/consumer.rs index f9088fb3b773b7..5d1d7c1637c40c 100644 --- a/core/src/banking_stage/consumer.rs +++ b/core/src/banking_stage/consumer.rs @@ -73,7 +73,7 @@ pub struct ExecuteAndCommitTransactionsOutput { #[derive(Debug, Default, PartialEq)] pub struct LeaderProcessedTransactionCounts { - // Total number of transactions that were passed as candidates for execution + // Total number of transactions that were passed as candidates for processing pub(crate) attempted_processing_count: u64, // The number of transactions of that were processed. See description of in `ProcessTransactionsSummary` // for possible outcomes of execution. @@ -1172,7 +1172,7 @@ mod tests { transaction_counts, LeaderProcessedTransactionCounts { attempted_processing_count: 1, - // Transactions was still executed, just wasn't committed, so should be counted here. + // Transaction was still processed, just wasn't committed, so should be counted here. processed_count: 1, processed_with_successful_result_count: 1, }