mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 06:48:01 +00:00
Fix max > T::MaxCandidates benchmark warning (#2716)
This commit is contained in:
@@ -168,7 +168,7 @@ benchmarks! {
|
||||
}
|
||||
|
||||
set_desired_candidates {
|
||||
let max: u32 = 999;
|
||||
let max: u32 = T::MaxCandidates::get();
|
||||
let origin =
|
||||
T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?;
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user