Skip to content

Commit

Permalink
fmt benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
dharjeezy committed Nov 18, 2024
1 parent 059e1bd commit 0cd84f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions substrate/frame/referenda/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ fn skip_timeout_period<T: Config<I>, I: 'static>(index: ReferendumIndex) {
set_block_number::<T, I>(timeout_period_over);
}

fn alarm_time<T: Config<I>, I: 'static>(
index: ReferendumIndex,
) -> BlockNumberFor<T, I> {
fn alarm_time<T: Config<I>, I: 'static>(index: ReferendumIndex) -> BlockNumberFor<T, I> {
let status = Referenda::<T, I>::ensure_ongoing(index).unwrap();
status.alarm.unwrap().0
}
Expand Down

0 comments on commit 0cd84f0

Please sign in to comment.