File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
pallets/subtensor/src/subnets Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,8 @@ impl<T: Config> Pallet<T> {
52
52
53
53
// We add the balance to the coldkey. If the above fails we will not credit this coldkey.
54
54
Self :: add_balance_to_coldkey_account ( & coldkey, tao_unstaked) ;
55
-
56
- // If the stake is below the minimum, we clear the nomination from storage.
57
- Self :: clear_small_nomination_if_required ( & old_hotkey, & coldkey, netuid) ;
58
55
}
59
56
}
60
-
61
- // 6. Check if stake lowered below MinStake and remove Pending children if it did
62
- if Self :: get_total_stake_for_hotkey ( & old_hotkey) < StakeThreshold :: < T > :: get ( ) {
63
- Self :: get_all_subnet_netuids ( ) . iter ( ) . for_each ( |netuid| {
64
- PendingChildKeys :: < T > :: remove ( netuid, & old_hotkey) ;
65
- } )
66
- }
67
57
}
68
58
69
59
/// Appends the uid to the network.
You can’t perform that action at this time.
0 commit comments