We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3caa26d commit 05617d2Copy full SHA for 05617d2
bittensor_cli/src/commands/stake/children_hotkeys.py
@@ -498,10 +498,14 @@ async def _render_table(
498
)
499
if not success:
500
print_error(f"Failed to get children from subtensor: {err_mg}")
501
+
502
+ # Always render the table, even if there are no children
503
if children:
504
netuid_children_tuples = [(netuid, children)]
- await _render_table(get_hotkey_pub_ss58(wallet), netuid_children_tuples)
505
+ else:
506
+ netuid_children_tuples = []
507
508
+ await _render_table(get_hotkey_pub_ss58(wallet), netuid_children_tuples)
509
return children
510
511
0 commit comments