We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa1189b + 187310e commit d1f6038Copy full SHA for d1f6038
pallets/subtensor/src/staking/stake_utils.rs
@@ -691,7 +691,7 @@ impl<T: Config> Pallet<T> {
691
// Decrease Alpha outstanding.
692
// TODO: Deprecate, not accurate in v3 anymore
693
SubnetAlphaOut::<T>::mutate(netuid, |total| {
694
- *total = total.saturating_sub(alpha);
+ *total = total.saturating_sub(swap_result.alpha_reserve_delta as u64);
695
});
696
697
// Decrease tao reserves.
0 commit comments