Skip to content

Commit

Permalink
consensus: move increase_lockouts test fn to dcou (solana-labs#3248)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored Oct 21, 2024
1 parent 9e102ce commit 2716b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ impl Tower {
self.record_bank_vote_and_update_lockouts(slot, hash, true, Hash::default())
}

/// Used for tests
#[cfg(feature = "dev-context-only-utils")]
pub fn increase_lockout(&mut self, confirmation_count_increase: u32) {
for vote in self.vote_state.votes.iter_mut() {
vote.lockout
Expand Down

0 comments on commit 2716b98

Please sign in to comment.