We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc5f00 commit f30517aCopy full SHA for f30517a
pallets/subtensor/src/staking/stake_utils.rs
@@ -559,15 +559,6 @@ impl<T: Config> Pallet<T> {
559
alpha_share_pool.sim_update_value_for_one(amount as i64)
560
}
561
562
- pub fn try_increase_stake_for_hotkey_and_coldkey_on_subnet(
563
- hotkey: &T::AccountId,
564
- netuid: u16,
565
- amount: u64,
566
- ) -> bool {
567
- let mut alpha_share_pool = Self::get_alpha_share_pool(hotkey.clone(), netuid);
568
- alpha_share_pool.sim_update_value_for_one(amount as i64)
569
- }
570
-
571
/// Sell shares in the hotkey on a given subnet
572
///
573
/// The function updates share totals given current prices.
0 commit comments