From 9f49b1e19f64a012f395b97baddacda82128244f Mon Sep 17 00:00:00 2001 From: ibraheem-latent Date: Fri, 12 Sep 2025 14:44:17 -0700 Subject: [PATCH] handles encrypted hotkeys --- bittensor_cli/src/commands/wallets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bittensor_cli/src/commands/wallets.py b/bittensor_cli/src/commands/wallets.py index 7b90641fa..391fe2cf2 100644 --- a/bittensor_cli/src/commands/wallets.py +++ b/bittensor_cli/src/commands/wallets.py @@ -852,6 +852,9 @@ async def wallet_list(wallet_path: str, json_output: bool): except KeyFileError: hkey_ss58 = hkey.get_hotkeypub().ss58_address pub_only = True + except AttributeError: + hkey_ss58 = hkey.hotkey.ss58_address + pub_only = False try: data = ( f"[bold red]Hotkey[/bold red] [green]{hkey.hotkey_str}[/green] "