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 8ec029d commit f29c736Copy full SHA for f29c736
pallets/subtensor/src/coinbase/run_coinbase.rs
@@ -74,6 +74,12 @@ impl<T: Config> Pallet<T> {
74
log::debug!("alpha_in_i: {:?}", alpha_in_i);
75
// Get alpha_out.
76
let alpha_out_i = alpha_emission_i;
77
+ // Only emit TAO if the subnetwork allows registration.
78
+ if !Self::get_network_registration_allowed(*netuid)
79
+ && Self::get_network_pow_registration_allowed(*netuid)
80
+ {
81
+ tao_in_i = asfloat!( 0.0 );
82
+ }
83
// Insert values into maps
84
tao_in.insert(*netuid_i, tao_in_i);
85
alpha_in.insert(*netuid_i, alpha_in_i);
0 commit comments