Fix doc on set_validator_count (#1137)

This commit is contained in:
Robert Habermeier
2018-11-19 14:46:36 +01:00
committed by GitHub
parent a42336f849
commit c74daa8afe
+1 -1
View File
@@ -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);