Skip to content

Commit

Permalink
Changes after review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Cem Eliguzel committed Oct 17, 2023
1 parent 4735a8b commit 2a0768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/parachain-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -988,11 +988,11 @@ pub mod pallet {
bond: BalanceOf<T>,
candidate_count: u32,
) -> DispatchResultWithPostInfo {
let acc = ensure_signed(origin.clone())?;
ensure!(
bond >= T::MinCandidateStk::get(),
Error::<T>::CandidateBondBelowMin
);
let acc = ensure_signed(origin.clone())?;
Self::join_candidates_inner(acc, bond, candidate_count)
}

Expand Down

0 comments on commit 2a0768b

Please sign in to comment.