Skip to content

Commit 2024cd2

Browse files
committed
fmt
1 parent a5fc94a commit 2024cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/staking/stake_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl<T: Config> Pallet<T> {
5959
}
6060
}
6161

62-
/// Computes the smoothing factor α for the exponential moving average (EMA)
62+
/// Computes the smoothing factor α for the exponential moving average (EMA)
6363
/// based on current pool liquidity.
6464
///
6565
/// This function implements a custom curve:
@@ -113,7 +113,7 @@ impl<T: Config> Pallet<T> {
113113
U96F32::saturating_from_num(alpha)
114114
}
115115

116-
/// Updates the stored “moving” alpha price for a subnet using a dynamic EMA.
116+
/// Updates the stored “moving” alpha price for a subnet using a dynamic EMA.
117117
///
118118
/// Steps performed:
119119
/// 1. Load raw TAO and α reserves (`SubnetTAO`, `SubnetAlphaIn`) and down-scale by 1e9 (to TAO units)

0 commit comments

Comments
 (0)