This commit is contained in:
Demi M. Obenour
2020-05-05 10:30:59 -04:00
parent fef1260a00
commit 3d6e2eebbc
+2 -3
View File
@@ -17,9 +17,7 @@
//! Implements support for the frame_staking module.
use crate::{
frame::{
Store,
},
frame::Store,
metadata::{
Metadata,
MetadataError,
@@ -73,6 +71,7 @@ pub type ValidatorIndex = u16;
/// 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;