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 8e6286c commit c38aa09Copy full SHA for c38aa09
pallets/subtensor/src/coinbase/run_coinbase.rs
@@ -255,16 +255,6 @@ impl<T: Config> Pallet<T> {
255
}
256
257
258
- pub fn get_network_subsidy_mode(subnets_to_emit_to: &[NetUid]) -> bool {
259
- let total_ema_price: U96F32 = subnets_to_emit_to
260
- .iter()
261
- .map(|netuid| Self::get_moving_alpha_price(*netuid))
262
- .sum();
263
-
264
- // If the total EMA price is less than or equal to 1, then we subsidize the network.
265
- total_ema_price <= U96F32::saturating_from_num(1)
266
- }
267
268
pub fn drain_pending(
269
subnets: &[NetUid],
270
current_block: u64,
0 commit comments