From 28a681a7bf4493d7634425be36a6b6c5ea2599e1 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 17:19:48 -0400 Subject: [PATCH] Remove duplicate increment (#24219) (#24226) (cherry picked from commit ff3b6d2b8b971f42cf8bec6a54c8d18c81cab9ff) Co-authored-by: carllin --- core/src/leader_slot_banking_stage_timing_metrics.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/leader_slot_banking_stage_timing_metrics.rs b/core/src/leader_slot_banking_stage_timing_metrics.rs index b2da74977c..157e925b2f 100644 --- a/core/src/leader_slot_banking_stage_timing_metrics.rs +++ b/core/src/leader_slot_banking_stage_timing_metrics.rs @@ -24,7 +24,6 @@ impl LeaderExecuteAndCommitTimings { saturating_add_assign!(self.record_us, other.record_us); saturating_add_assign!(self.commit_us, other.commit_us); saturating_add_assign!(self.find_and_send_votes_us, other.find_and_send_votes_us); - saturating_add_assign!(self.commit_us, other.commit_us); self.record_transactions_timings .accumulate(&other.record_transactions_timings); self.execute_timings.accumulate(&other.execute_timings);