From a6d1c9b920ad995fa8cdcbf6561b8db81c7a7783 Mon Sep 17 00:00:00 2001 From: emostov <32168567+emostov@users.noreply.github.com> Date: Thu, 17 Mar 2022 18:32:23 +0000 Subject: [PATCH] Try revert --- frame/nomination-pools/src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/frame/nomination-pools/src/lib.rs b/frame/nomination-pools/src/lib.rs index 33ffeffa40503..d0b5c398fd7b6 100644 --- a/frame/nomination-pools/src/lib.rs +++ b/frame/nomination-pools/src/lib.rs @@ -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(