Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Remove unused test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Sep 14, 2023
1 parent 602f0f6 commit 5a3b8f2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions programs/stake/src/stake_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6856,14 +6856,6 @@ mod tests {
let stake_history = StakeHistory::default();
let current_epoch = 100;

let mut sysvar_cache_override = SysvarCache::default();
sysvar_cache_override.set_stake_history(stake_history.clone());
sysvar_cache_override.set_rent(rent);
sysvar_cache_override.set_clock(Clock {
epoch: current_epoch,
..Clock::default()
});

let authorized_staker = Pubkey::new_unique();
let vote_address = Pubkey::new_unique();
let new_vote_address = Pubkey::new_unique();
Expand Down

0 comments on commit 5a3b8f2

Please sign in to comment.