docs: add srml readme, clarify comment in staking (#3151)

* add srml readme, nit on staking/lib.rs

* increase impl version, not spec version

* change back impl
This commit is contained in:
Amar Singh
2019-07-21 15:22:11 +02:00
committed by Kian Peymani
parent a7a4caed1a
commit 4bbfaa9c8f
2 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ pub const DEFAULT_BONDING_DURATION: u32 = 1;
/// Means for interacting with a specialized version of the `session` trait.
///
/// This is needed because `Staking` sets the `ValidatorId` of the `session::Trait`
/// This is needed because `Staking` sets the `ValidatorIdOf` of the `session::Trait`
pub trait SessionInterface<AccountId>: system::Trait {
/// Disable a given validator by stash ID.
fn disable_validator(validator: &AccountId) -> Result<(), ()>;