Skip to content

Commit

Permalink
Fix wrong staking doc about transaction payment. (paritytech#6873)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma authored Aug 11, 2020
1 parent 4064378 commit 72addfa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,10 @@ pub struct Nominations<AccountId> {
///
/// Except for initial nominations which are considered submitted at era 0.
pub submitted_in: EraIndex,
/// Whether the nominations have been suppressed.
/// Whether the nominations have been suppressed. This can happen due to slashing of the
/// validators, or other events that might invalidate the nomination.
///
/// NOTE: this for future proofing and is thus far not used.
pub suppressed: bool,
}

Expand Down Expand Up @@ -2444,8 +2447,9 @@ impl<T: Trait> Module<T> {
Ok(())
}

/// Update the ledger for a controller. This will also update the stash lock. The lock will
/// will lock the entire funds except paying for further transactions.
/// Update the ledger for a controller.
///
/// This will also update the stash lock.
fn update_ledger(
controller: &T::AccountId,
ledger: &StakingLedger<T::AccountId, BalanceOf<T>>
Expand Down

0 comments on commit 72addfa

Please sign in to comment.