We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a08f8d commit db0ac32Copy full SHA for db0ac32
solana/programs/staking/src/lib.rs
@@ -486,10 +486,7 @@ pub mod staking {
486
487
let current_timestamp: u64 = utils::clock::get_current_time().try_into()?;
488
let vote_start = proposal.vote_start;
489
- require!(
490
- current_timestamp > vote_start,
491
- ErrorCode::ProposalInactive
492
- );
+ require!(current_timestamp > vote_start, ErrorCode::ProposalInactive);
493
494
let (_, window_length) = find_window_length_le(
495
&ctx.accounts.vote_weight_window_lengths.to_account_info(),
0 commit comments