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 93fa913 commit 61d90b9Copy full SHA for 61d90b9
bittensor_cli/src/commands/stake/children_hotkeys.py
@@ -499,10 +499,14 @@ async def _render_table(
499
)
500
if not success:
501
print_error(f"Failed to get children from subtensor: {err_mg}")
502
+
503
+ # Always render the table, even if there are no children
504
if children:
505
netuid_children_tuples = [(netuid, children)]
- await _render_table(get_hotkey_pub_ss58(wallet), netuid_children_tuples)
506
+ else:
507
+ netuid_children_tuples = []
508
509
+ await _render_table(get_hotkey_pub_ss58(wallet), netuid_children_tuples)
510
return children
511
512
0 commit comments