diff --git a/substrate/frame/referenda/src/benchmarking.rs b/substrate/frame/referenda/src/benchmarking.rs index 42141cb53b2f..895f95dbec55 100644 --- a/substrate/frame/referenda/src/benchmarking.rs +++ b/substrate/frame/referenda/src/benchmarking.rs @@ -176,9 +176,7 @@ fn skip_timeout_period, I: 'static>(index: ReferendumIndex) { set_block_number::(timeout_period_over); } -fn alarm_time, I: 'static>( - index: ReferendumIndex, -) -> BlockNumberFor { +fn alarm_time, I: 'static>(index: ReferendumIndex) -> BlockNumberFor { let status = Referenda::::ensure_ongoing(index).unwrap(); status.alarm.unwrap().0 }