From fef1260a00fa6a994b7794c5cc9354e965dcc439 Mon Sep 17 00:00:00 2001 From: "Demi M. Obenour" Date: Fri, 1 May 2020 17:57:36 -0400 Subject: [PATCH] Fix missing documentation --- src/frame/staking.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frame/staking.rs b/src/frame/staking.rs index 89088ddf29..7211a570df 100644 --- a/src/frame/staking.rs +++ b/src/frame/staking.rs @@ -71,8 +71,9 @@ pub type NominatorIndex = u32; /// Data type used to index validators in the compact type. pub type ValidatorIndex = u16; -/// Maximum number of stakers that can be stored in a snapshot. +/// Maximum number of validators that can be stored in a snapshot. pub const MAX_VALIDATORS: usize = ValidatorIndex::max_value() as usize; +/// Maximum number of nominators that can be stored in a snapshot. pub const MAX_NOMINATORS: usize = NominatorIndex::max_value() as usize; /// Counter for the number of eras that have passed.