Skip to content

Commit db0ac32

Browse files
committed
Apply yarn format
1 parent 7a08f8d commit db0ac32

File tree

1 file changed

+1
-4
lines changed
  • solana/programs/staking/src

1 file changed

+1
-4
lines changed

solana/programs/staking/src/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,7 @@ pub mod staking {
486486

487487
let current_timestamp: u64 = utils::clock::get_current_time().try_into()?;
488488
let vote_start = proposal.vote_start;
489-
require!(
490-
current_timestamp > vote_start,
491-
ErrorCode::ProposalInactive
492-
);
489+
require!(current_timestamp > vote_start, ErrorCode::ProposalInactive);
493490

494491
let (_, window_length) = find_window_length_le(
495492
&ctx.accounts.vote_weight_window_lengths.to_account_info(),

0 commit comments

Comments
 (0)