Skip to content

Commit

Permalink
fmt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Oct 30, 2024
1 parent ea5eca7 commit 9acdfec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion substrate/frame/offences/benchmarking/src/inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ mod benchmarks {
}

#[benchmark]
fn report_offence_babe(n: Linear<0, { MAX_NOMINATORS.min(MaxNominationsOf::<T>::get()) }>) -> Result<(), BenchmarkError> {
fn report_offence_babe(
n: Linear<0, { MAX_NOMINATORS.min(MaxNominationsOf::<T>::get()) }>,
) -> Result<(), BenchmarkError> {
// for babe equivocation reports the number of reporters
// and offenders is always 1
let reporters = vec![account("reporter", 1, SEED)];
Expand Down

0 comments on commit 9acdfec

Please sign in to comment.