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] "