Skip to content

Commit 0480365

Browse files
committed
fix: update to print_error
1 parent 5ef7790 commit 0480365

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bittensor_cli/src/commands/stake/children_hotkeys.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
confirm_action,
1515
console,
1616
print_error,
17-
err_console,
1817
float_to_u16,
1918
float_to_u64,
2019
u16_to_float,
@@ -240,7 +239,7 @@ async def set_childkey_take_extrinsic(
240239
console.print(":white_heavy_check_mark: [green]Finalized[/green]")
241240
return True, f"Successfully {modifier} childkey take", ext_id
242241
else:
243-
console.print(f":cross_mark: [red]Failed[/red]: {error_message}")
242+
print_error(f"Failed: {error_message}")
244243
return False, error_message, None
245244

246245
except SubstrateRequestException as e:

0 commit comments

Comments
 (0)