File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2302,6 +2302,7 @@ def wallet_associate_hotkey(
2302
2302
"[blue]hotkey ss58 address[/blue] [dim](to associate with your coldkey)[/dim]"
2303
2303
)
2304
2304
2305
+ hotkey_display = None
2305
2306
if is_valid_ss58_address (wallet_hotkey ):
2306
2307
hotkey_ss58 = wallet_hotkey
2307
2308
wallet = self .wallet_ask (
@@ -2311,6 +2312,9 @@ def wallet_associate_hotkey(
2311
2312
ask_for = [WO .NAME , WO .PATH ],
2312
2313
validate = WV .WALLET ,
2313
2314
)
2315
+ hotkey_display = (
2316
+ f"hotkey [{ COLORS .GENERAL .HK } ]{ hotkey_ss58 } [/{ COLORS .GENERAL .HK } ]"
2317
+ )
2314
2318
else :
2315
2319
wallet = self .wallet_ask (
2316
2320
wallet_name ,
@@ -2320,10 +2324,15 @@ def wallet_associate_hotkey(
2320
2324
validate = WV .WALLET_AND_HOTKEY ,
2321
2325
)
2322
2326
hotkey_ss58 = wallet .hotkey .ss58_address
2327
+ hotkey_display = f"hotkey [blue]{ wallet_hotkey } [/blue] [{ COLORS .GENERAL .HK } ]({ hotkey_ss58 } )[/{ COLORS .GENERAL .HK } ]"
2323
2328
2324
2329
return self ._run_command (
2325
2330
wallets .associate_hotkey (
2326
- wallet , self .initialize_chain (network ), hotkey_ss58 , prompt
2331
+ wallet ,
2332
+ self .initialize_chain (network ),
2333
+ hotkey_ss58 ,
2334
+ hotkey_display ,
2335
+ prompt ,
2327
2336
)
2328
2337
)
2329
2338
You can’t perform that action at this time.
0 commit comments