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> {
292
292
// --- 8 Iterate over each nominator and get all viable stake.
293
293
let mut total_viable_nominator_stake: u64 = total_hotkey_stake;
294
294
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 {
296
296
total_viable_nominator_stake =
297
297
total_viable_nominator_stake. saturating_sub ( nominator_stake) ;
298
298
}
@@ -303,7 +303,10 @@ impl<T: Config> Pallet<T> {
303
303
for ( nominator, nominator_stake) in Stake :: < T > :: iter_prefix ( hotkey) {
304
304
// --- 10 Check if the stake was manually increased by the user since the last emission drain for this hotkey.
305
305
// 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
+ {
307
310
continue ;
308
311
}
309
312
You can’t perform that action at this time.
0 commit comments