Skip to content
Snippets Groups Projects
Commit c74daa8a authored by asynchronous rob's avatar asynchronous rob Committed by GitHub
Browse files

Fix doc on set_validator_count (#1137)

parent a42336f8
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment