Skip to content

Commit

Permalink
Gus PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhaleking committed Aug 14, 2024
1 parent 72adb53 commit 1ced208
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/commands/stake.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,11 +1524,8 @@ async def render_table(
success, children, err_mg = await subtensor.get_children(wallet.hotkey, netuid)
if not success:
err_console.print(
f"Failed to get children from subtensor. {children[0]}: {err_mg}"
f"Failed to get children from subtensor: {err_mg}"
)
if not children:
console.print("[yellow]No children found.[/yellow]")

await render_table(wallet.hotkey, children, netuid)

return children
Expand Down

0 comments on commit 1ced208

Please sign in to comment.