@@ -63,7 +63,7 @@ async def associate_hotkey(
63
63
if owner_ss58 :
64
64
if owner_ss58 == wallet .coldkeypub .ss58_address :
65
65
console .print (
66
- f":white_heavy_check_mark: { hotkey_display } is already "
66
+ f":white_heavy_check_mark: { hotkey_display . capitalize () } is already "
67
67
f"associated with \n wallet [blue]{ wallet .name } [/blue], "
68
68
f"SS58: [{ COLORS .GENERAL .CK } ]{ owner_ss58 } [/{ COLORS .GENERAL .CK } ]"
69
69
)
@@ -72,12 +72,14 @@ async def associate_hotkey(
72
72
owner_wallet = _get_wallet_by_ss58 (wallet .path , owner_ss58 )
73
73
wallet_name = owner_wallet .name if owner_wallet else "unknown wallet"
74
74
console .print (
75
- f"[yellow]Warning[/yellow]: { hotkey_display } is already associated with \n "
75
+ f"[yellow]Warning[/yellow]: { hotkey_display . capitalize () } is already associated with \n "
76
76
f"wallet: [blue]{ wallet_name } [/blue], SS58: [{ COLORS .GENERAL .CK } ]{ owner_ss58 } [/{ COLORS .GENERAL .CK } ]"
77
77
)
78
78
return False
79
79
else :
80
- console .print (f"{ hotkey_display } is not associated with any wallet" )
80
+ console .print (
81
+ f"{ hotkey_display .capitalize ()} is not associated with any wallet"
82
+ )
81
83
82
84
if prompt and not Confirm .ask ("Do you want to continue with the association?" ):
83
85
return False
@@ -108,7 +110,7 @@ async def associate_hotkey(
108
110
return False
109
111
110
112
console .print (
111
- f"[green] :white_heavy_check_mark: Successfully associated { hotkey_display } with \n "
113
+ f":white_heavy_check_mark: Successfully associated { hotkey_display } with \n "
112
114
f"wallet [blue]{ wallet .name } [/blue], "
113
115
f"SS58: [{ COLORS .GENERAL .CK } ]{ wallet .coldkeypub .ss58_address } [/{ COLORS .GENERAL .CK } ]"
114
116
)
0 commit comments