File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2466,7 +2466,8 @@ def wallet_associate_hotkey(
24662466 if not wallet_hotkey :
24672467 wallet_hotkey = Prompt .ask (
24682468 "Enter the [blue]hotkey[/blue] name or "
2469- "[blue]hotkey ss58 address[/blue] [dim](to associate with your coldkey)[/dim]"
2469+ "[blue]hotkey ss58 address[/blue] [dim](to associate with your coldkey)[/dim]" ,
2470+ default = self .config .get ("wallet_hotkey" ) or defaults .wallet .hotkey ,
24702471 )
24712472
24722473 if wallet_hotkey and is_valid_ss58_address (wallet_hotkey ):
@@ -2540,13 +2541,14 @@ def wallet_new_coldkey(
25402541
25412542 if not wallet_path :
25422543 wallet_path = Prompt .ask (
2543- "Enter the path to the wallets directory" , default = defaults .wallet .path
2544+ "Enter the path to the wallets directory" ,
2545+ default = self .config .get ("wallet_path" ) or defaults .wallet .path ,
25442546 )
25452547
25462548 if not wallet_name :
25472549 wallet_name = Prompt .ask (
25482550 f"Enter the name of the [{ COLORS .G .CK } ]new wallet (coldkey)" ,
2549- default = defaults .wallet .name ,
2551+ default = self . config . get ( "wallet_name" ) or defaults .wallet .name ,
25502552 )
25512553
25522554 wallet = self .wallet_ask (
You can’t perform that action at this time.
0 commit comments