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 624dd07 commit 7fc9b41Copy full SHA for 7fc9b41
pallets/subtensor/src/staking/stake_utils.rs
@@ -592,7 +592,7 @@ impl<T: Config> Pallet<T> {
592
});
593
// Step 8. Decrease Alpha reserves.
594
SubnetVolume::<T>::mutate(netuid, |total| {
595
- *total = total.saturating_sub(tao);
+ *total = total.saturating_add(tao);
596
597
// Step 9. Return the tao received.
598
tao
0 commit comments