Skip to content

Commit

Permalink
Fix merge issues reverting getters
Browse files Browse the repository at this point in the history
  • Loading branch information
PolkadotDom committed Jun 22, 2024
1 parent ad3408f commit 4ec7077
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn log_current_time() {
System::block_number(),
Session::current_index(),
Staking::current_era(),
ElectionProviderMultiPhase::current_phase(),
CurrentPhase::<Runtime>::get(),
Now::<Runtime>::get()
);
}
Expand Down Expand Up @@ -211,7 +211,7 @@ fn continuous_slashes_below_offending_threshold() {
// break loop when era does not progress; EPM is in emergency phase as election
// failed due to election minimum score.
if start_next_active_era(pool_state.clone()).is_err() {
assert!(ElectionProviderMultiPhase::current_phase().is_emergency());
assert!(CurrentPhase::<Runtime>::get().is_emergency());
break;
}

Expand Down

0 comments on commit 4ec7077

Please sign in to comment.