@@ -1798,23 +1798,23 @@ async def swap_hotkey_extrinsic(
17981798 if netuid is not None :
17991799 confirm_message = (
18001800 f"Do you want to swap [dark_orange]{ wallet .name } [/dark_orange] hotkey \n \t "
1801- f"[dark_orange]{ wallet .hotkey .ss58_address } [/dark_orange] with hotkey \n \t "
1802- f"[dark_orange]{ new_wallet .hotkey .ss58_address } [/dark_orange] on subnet { netuid } \n "
1801+ f"[dark_orange]{ wallet .hotkey .ss58_address } ( { wallet . hotkey_str } ) [/dark_orange] with hotkey \n \t "
1802+ f"[dark_orange]{ new_wallet .hotkey .ss58_address } ( { new_wallet . hotkey_str } ) [/dark_orange] on subnet { netuid } \n "
18031803 "This operation will cost [bold cyan]1 TAO (recycled)[/bold cyan]"
18041804 )
18051805 else :
18061806 confirm_message = (
18071807 f"Do you want to swap [dark_orange]{ wallet .name } [/dark_orange] hotkey \n \t "
1808- f"[dark_orange]{ wallet .hotkey .ss58_address } [/dark_orange] with hotkey \n \t "
1809- f"[dark_orange]{ new_wallet .hotkey .ss58_address } [/dark_orange] on all subnets\n "
1808+ f"[dark_orange]{ wallet .hotkey .ss58_address } ( { wallet . hotkey_str } ) [/dark_orange] with hotkey \n \t "
1809+ f"[dark_orange]{ new_wallet .hotkey .ss58_address } ( { new_wallet . hotkey_str } ) [/dark_orange] on all subnets\n "
18101810 "This operation will cost [bold cyan]1 TAO (recycled)[/bold cyan]"
18111811 )
18121812
18131813 if not Confirm .ask (confirm_message ):
18141814 return False
18151815 print_verbose (
1816- f"Swapping { wallet .name } 's hotkey ({ wallet .hotkey .ss58_address } ) with "
1817- f"{ new_wallet .name } 's hotkey ({ new_wallet .hotkey .ss58_address } )"
1816+ f"Swapping { wallet .name } 's hotkey ({ wallet .hotkey .ss58_address } - { wallet . hotkey_str } ) with "
1817+ f"{ new_wallet .name } 's hotkey ({ new_wallet .hotkey .ss58_address } - { new_wallet . hotkey_str } )"
18181818 )
18191819 with console .status (":satellite: Swapping hotkeys..." , spinner = "aesthetic" ):
18201820 call_params = {
@@ -1832,7 +1832,7 @@ async def swap_hotkey_extrinsic(
18321832
18331833 if success :
18341834 console .print (
1835- f"Hotkey { wallet .hotkey } swapped for new hotkey: { new_wallet .hotkey } "
1835+ f"Hotkey { wallet .hotkey . ss58_address } ( { wallet . hotkey_str } ) swapped for new hotkey: { new_wallet .hotkey . ss58_address } ( { new_wallet . hotkey_str } ) "
18361836 )
18371837 return True
18381838 else :
0 commit comments