mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
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:
@@ -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<(), ()>;
|
||||
|
||||
Reference in New Issue
Block a user