mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 05:25:48 +00:00
committed by
GitHub
parent
45f8b6e91f
commit
0975a92818
@@ -2738,8 +2738,8 @@ impl<T: Config> frame_election_provider_support::ElectionDataProvider<T::Account
|
|||||||
|
|
||||||
let slashing_span_count = <SlashingSpans<T>>::iter().count();
|
let slashing_span_count = <SlashingSpans<T>>::iter().count();
|
||||||
let weight = T::WeightInfo::get_npos_voters(
|
let weight = T::WeightInfo::get_npos_voters(
|
||||||
nominator_count as u32,
|
|
||||||
validator_count as u32,
|
validator_count as u32,
|
||||||
|
nominator_count as u32,
|
||||||
slashing_span_count as u32,
|
slashing_span_count as u32,
|
||||||
);
|
);
|
||||||
Ok((Self::get_npos_voters(), weight))
|
Ok((Self::get_npos_voters(), weight))
|
||||||
|
|||||||
Reference in New Issue
Block a user