Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Try revert
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov committed Mar 17, 2022
1 parent b410010 commit a6d1c9b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions frame/nomination-pools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1369,17 +1369,6 @@ pub mod pallet {
/// * `root` - The account to set as [`BondedPool::root`].
/// * `nominator` - The account to set as the [`BondedPool::nominator`].
/// * `state_toggler` - The account to set as the [`BondedPool::state_toggler`].
///
/// # Notes
///
/// The caller will transfer `amount` to the bonded account and existential deposit to the
/// reward account. While the former is returned when the caller withdraws unbonded funds,
/// the latter is not guaranteed to be returned.
// TODO: The creator needs to transfer ED to the pool account and then have their delegators
// `reward_pool_total_earnings` ever set to the balance of the reward pool. This will make
// an invariant that the reward pool account will always have ED until destroyed.
// The reward pool balance and total earnings ever will also need to be updated to reflect
// that it has ED so the payout calculations work
#[pallet::weight(T::WeightInfo::create())]
#[frame_support::transactional]
pub fn create(
Expand Down

0 comments on commit a6d1c9b

Please sign in to comment.