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 dd25142 commit 624dd07Copy full SHA for 624dd07
pallets/subtensor/src/staking/stake_utils.rs
@@ -560,7 +560,7 @@ impl<T: Config> Pallet<T> {
560
});
561
// Step 8. Decrease Alpha reserves.
562
SubnetVolume::<T>::mutate(netuid, |total| {
563
- *total = total.saturating_sub(tao);
+ *total = total.saturating_add(tao);
564
565
// Step 9. Return the alpha received.
566
alpha
0 commit comments