Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 18, 2023
1 parent f08a775 commit c87549c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/election-provider-multi-phase/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ pub mod pallet {
#[pallet::weight((T::DbWeight::get().writes(1), DispatchClass::Operational))]
pub fn force_start_phase(
origin: OriginFor<T>,
phase: Phase<T::BlockNumber>,
phase: Phase<BlockNumberFor<T>>,
) -> DispatchResult {
ensure_root(origin)?;

Expand Down Expand Up @@ -1389,7 +1389,7 @@ pub mod pallet {

/// Stores the phase we want to force during `on_initialize`.
#[pallet::storage]
pub type ForcePhase<T: Config> = StorageValue<_, Phase<T::BlockNumber>, OptionQuery>;
pub type ForcePhase<T: Config> = StorageValue<_, Phase<BlockNumberFor<T>>, OptionQuery>;

/// The current storage version.
///
Expand Down

0 comments on commit c87549c

Please sign in to comment.