File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
pallets/subtensor/src/coinbase Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ impl<T: Config> Pallet<T> {
292292 // --- 8 Iterate over each nominator and get all viable stake.
293293 let mut total_viable_nominator_stake: u64 = total_hotkey_stake;
294294 for ( nominator, nominator_stake) in Stake :: < T > :: iter_prefix ( hotkey) {
295- if LastAddStakeIncrease :: < T > :: get ( hotkey, nominator) > last_emission_drain {
295+ if false && LastAddStakeIncrease :: < T > :: get ( hotkey, nominator) > last_emission_drain {
296296 total_viable_nominator_stake =
297297 total_viable_nominator_stake. saturating_sub ( nominator_stake) ;
298298 }
@@ -303,7 +303,10 @@ impl<T: Config> Pallet<T> {
303303 for ( nominator, nominator_stake) in Stake :: < T > :: iter_prefix ( hotkey) {
304304 // --- 10 Check if the stake was manually increased by the user since the last emission drain for this hotkey.
305305 // If it was, skip this nominator as they will not receive their proportion of the emission.
306- if LastAddStakeIncrease :: < T > :: get ( hotkey, nominator. clone ( ) ) > last_emission_drain {
306+ if false
307+ && LastAddStakeIncrease :: < T > :: get ( hotkey, nominator. clone ( ) )
308+ > last_emission_drain
309+ {
307310 continue ;
308311 }
309312
You can’t perform that action at this time.
0 commit comments