This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
frame/nomination-pools/src Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1369,17 +1369,6 @@ pub mod pallet {
13691369 /// * `root` - The account to set as [`BondedPool::root`].
13701370 /// * `nominator` - The account to set as the [`BondedPool::nominator`].
13711371 /// * `state_toggler` - The account to set as the [`BondedPool::state_toggler`].
1372- ///
1373- /// # Notes
1374- ///
1375- /// The caller will transfer `amount` to the bonded account and existential deposit to the
1376- /// reward account. While the former is returned when the caller withdraws unbonded funds,
1377- /// the latter is not guaranteed to be returned.
1378- // TODO: The creator needs to transfer ED to the pool account and then have their delegators
1379- // `reward_pool_total_earnings` ever set to the balance of the reward pool. This will make
1380- // an invariant that the reward pool account will always have ED until destroyed.
1381- // The reward pool balance and total earnings ever will also need to be updated to reflect
1382- // that it has ED so the payout calculations work
13831372 #[ pallet:: weight( T :: WeightInfo :: create( ) ) ]
13841373 #[ frame_support:: transactional]
13851374 pub fn create (
You can’t perform that action at this time.
0 commit comments