Skip to content

Commit

Permalink
Increment timestamp on refreshed votes (solana-labs#31908)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored and wen-coding committed Aug 15, 2023
1 parent 4cf1647 commit 75fc21a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,6 @@ impl Tower {
} else {
// If the previous vote did not send a timestamp due to clock error,
// use the last good timestamp + 1
datapoint_info!(
"refresh-timestamp-missing",
("heaviest-slot", heaviest_slot_on_same_fork, i64),
("last-timestamp", self.last_timestamp.timestamp, i64),
("last-slot", self.last_timestamp.slot, i64),
);
self.last_timestamp.timestamp.saturating_add(1)
};

Expand Down

0 comments on commit 75fc21a

Please sign in to comment.