From fbfcc3febfaa638acac169ab8b0fd1ac93f1b7ab Mon Sep 17 00:00:00 2001 From: apfitzge Date: Fri, 29 Jul 2022 12:56:04 -0500 Subject: [PATCH] Bugfix: VoteProcessingTiming reset both counters (#26843) --- core/src/cluster_info_vote_listener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/cluster_info_vote_listener.rs b/core/src/cluster_info_vote_listener.rs index 12641262d..ed9472482 100644 --- a/core/src/cluster_info_vote_listener.rs +++ b/core/src/cluster_info_vote_listener.rs @@ -194,7 +194,7 @@ const VOTE_PROCESSING_REPORT_INTERVAL_MS: u64 = 1_000; impl VoteProcessingTiming { fn reset(&mut self) { - self.gossip_slot_confirming_time_us = 0; + self.gossip_txn_processing_time_us = 0; self.gossip_slot_confirming_time_us = 0; }