Skip to content

Commit

Permalink
add doc about bond_help_in_ring and bond_help_in_kton
Browse files Browse the repository at this point in the history
  • Loading branch information
readlnh committed Jan 3, 2020
1 parent 0c88397 commit e58145e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srml/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ impl<T: Trait> Module<T> {
ledger
}

// TODO: doc
// update the ledger while bonding ring and compute the kton should return
fn bond_helper_in_ring(
stash: &T::AccountId,
controller: &T::AccountId,
Expand Down Expand Up @@ -1217,7 +1217,7 @@ impl<T: Trait> Module<T> {
Self::update_ledger(&controller, &mut ledger, StakingBalances::RingBalance(value));
}

// TODO: doc
// update the ledger while bonding controller with kton
fn bond_helper_in_kton(
controller: &T::AccountId,
value: KtonBalance<T>,
Expand Down

0 comments on commit e58145e

Please sign in to comment.