Skip to content

Commit 320f058

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

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
@@ -90,7 +90,7 @@ impl<T: Config> Pallet<T> {
9090
Self::set_blocks_since_last_step(*netuid, 0);
9191
Self::set_last_mechanism_step_block(*netuid, current_block);
9292

93-
if *netuid == 0 && !Self::is_registration_allowed(*netuid) {
93+
if *netuid == 0 || !Self::is_registration_allowed(*netuid) {
9494
// Skip netuid 0 payouts
9595
continue;
9696
}

0 commit comments

Comments
 (0)