Skip to content

Commit 7fc9b41

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

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
@@ -592,7 +592,7 @@ impl<T: Config> Pallet<T> {
592592
});
593593
// Step 8. Decrease Alpha reserves.
594594
SubnetVolume::<T>::mutate(netuid, |total| {
595-
*total = total.saturating_sub(tao);
595+
*total = total.saturating_add(tao);
596596
});
597597
// Step 9. Return the tao received.
598598
tao

0 commit comments

Comments
 (0)