Skip to content

Commit 7232e84

Browse files
Update pallets/subtensor/src/coinbase/run_coinbase.rs
Co-authored-by: Cameron Fairchild <[email protected]>
1 parent 320f058 commit 7232e84

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
@@ -48,7 +48,7 @@ impl<T: Config> Pallet<T> {
4848
// --- 3. Drain the subnet block emission and accumulate it as subnet emission, which increases until the tempo is reached in #4.
4949
// subnet_blockwise_emission -> subnet_pending_emission
5050
for netuid in subnets.clone().iter() {
51-
if *netuid == 0 && !Self::is_registration_allowed(*netuid) {
51+
if *netuid == 0 || !Self::is_registration_allowed(*netuid) {
5252
continue;
5353
}
5454
// --- 3.1 Get the network's block-wise emission amount.

0 commit comments

Comments
 (0)