File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pallets/subtensor/src/coinbase Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl<T: Config> Pallet<T> {
48
48
// --- 3. Drain the subnet block emission and accumulate it as subnet emission, which increases until the tempo is reached in #4.
49
49
// subnet_blockwise_emission -> subnet_pending_emission
50
50
for netuid in subnets. clone ( ) . iter ( ) {
51
- if * netuid == 0 && !Self :: registration_allowed ( netuid) {
51
+ if * netuid == 0 && !Self :: is_registration_allowed ( netuid) {
52
52
continue ;
53
53
}
54
54
// --- 3.1 Get the network's block-wise emission amount.
@@ -90,7 +90,7 @@ impl<T: Config> Pallet<T> {
90
90
Self :: set_blocks_since_last_step ( * netuid, 0 ) ;
91
91
Self :: set_last_mechanism_step_block ( * netuid, current_block) ;
92
92
93
- if * netuid == 0 && !Self :: registration_allowed ( netuid) {
93
+ if * netuid == 0 && !Self :: is_registration_allowed ( netuid) {
94
94
// Skip netuid 0 payouts
95
95
continue ;
96
96
}
You can’t perform that action at this time.
0 commit comments