Skip to content

Commit

Permalink
fix: function name
Browse files Browse the repository at this point in the history
  • Loading branch information
distributedstatemachine committed Nov 27, 2024
1 parent f02c652 commit d68559e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/subtensor/src/coinbase/run_coinbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<T: Config> Pallet<T> {
// --- 3. Drain the subnet block emission and accumulate it as subnet emission, which increases until the tempo is reached in #4.
// subnet_blockwise_emission -> subnet_pending_emission
for netuid in subnets.clone().iter() {
if *netuid == 0 && !Self::registration_allowed(netuid) {
if *netuid == 0 && !Self::is_registration_allowed(netuid) {
continue;
}
// --- 3.1 Get the network's block-wise emission amount.
Expand Down Expand Up @@ -90,7 +90,7 @@ impl<T: Config> Pallet<T> {
Self::set_blocks_since_last_step(*netuid, 0);
Self::set_last_mechanism_step_block(*netuid, current_block);

if *netuid == 0 && !Self::registration_allowed(netuid) {
if *netuid == 0 && !Self::is_registration_allowed(netuid) {
// Skip netuid 0 payouts
continue;
}
Expand Down

0 comments on commit d68559e

Please sign in to comment.