Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update frame/staking/src/pallet/mod.rs
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
emostov and kianenigma authored Mar 6, 2022
commit f071b2df871f6ee16b6ff11e47f050038b3f3e5a
4 changes: 2 additions & 2 deletions frame/staking/src/pallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ pub mod pallet {
#[pallet::constant]
type MaxUnlockingChunks: Get<u32>;

/// A hook called when any staker is slashed. Mostly likely this can be a no-op unless
/// there are nomination pools.
/// A hook called when any staker is slashed. Mostly likely this can be a no-op unless
/// other pallets exist that are affected by slashing per-staker.
type OnStakerSlash: sp_staking::OnStakerSlash<Self::AccountId, BalanceOf<Self>>;

/// Some parameters of the benchmarking.
Expand Down