mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
Fix doc on set_validator_count (#1137)
This commit is contained in:
committed by
GitHub
parent
a42336f849
commit
c74daa8afe
@@ -215,7 +215,7 @@ decl_module! {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// The length of a staking era in sessions.
|
||||
/// The ideal number of validators.
|
||||
fn set_validator_count(new: Compact<u32>) -> Result {
|
||||
let new: u32 = new.into();
|
||||
<ValidatorCount<T>>::put(new);
|
||||
|
||||
Reference in New Issue
Block a user