Skip to content

Commit 624dd07

Browse files
Update pallets/subtensor/src/staking/stake_utils.rs
Co-authored-by: Cameron Fairchild <[email protected]>
1 parent dd25142 commit 624dd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/staking/stake_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ impl<T: Config> Pallet<T> {
560560
});
561561
// Step 8. Decrease Alpha reserves.
562562
SubnetVolume::<T>::mutate(netuid, |total| {
563-
*total = total.saturating_sub(tao);
563+
*total = total.saturating_add(tao);
564564
});
565565
// Step 9. Return the alpha received.
566566
alpha

0 commit comments

Comments
 (0)