File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
bittensor_cli/src/commands/subnets Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2323,7 +2323,7 @@ async def get_start_schedule(
2323
2323
print_error (f"Subnet { netuid } does not exist." )
2324
2324
return None
2325
2325
block_hash = await subtensor .substrate .get_chain_head ()
2326
- registration_block , min_blocks_to_start , current_block = await asyncio .gather (
2326
+ registration_block , min_blocks_to_start_ , current_block = await asyncio .gather (
2327
2327
subtensor .query (
2328
2328
module = "SubtensorModule" ,
2329
2329
storage_function = "NetworkRegisteredAt" ,
@@ -2337,6 +2337,7 @@ async def get_start_schedule(
2337
2337
),
2338
2338
subtensor .substrate .get_block_number (block_hash = block_hash ),
2339
2339
)
2340
+ min_blocks_to_start = getattr (min_blocks_to_start_ , "value" , min_blocks_to_start_ )
2340
2341
2341
2342
potential_start_block = registration_block + min_blocks_to_start
2342
2343
if current_block < potential_start_block :
You can’t perform that action at this time.
0 commit comments