Skip to content

Commit ef65dc4

Browse files
committed
add negation for pow-reg-allowed
1 parent fd96f59 commit ef65dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/coinbase/run_coinbase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl<T: Config> Pallet<T> {
8787
let alpha_out_i = alpha_emission_i;
8888
// Only emit TAO if the subnetwork allows registration.
8989
if !Self::get_network_registration_allowed(*netuid_i)
90-
&& Self::get_network_pow_registration_allowed(*netuid_i)
90+
&& !Self::get_network_pow_registration_allowed(*netuid_i)
9191
{
9292
tao_in_i = asfloat!(0.0);
9393
}

0 commit comments

Comments
 (0)