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(
2466
2466
if not wallet_hotkey :
2467
2467
wallet_hotkey = Prompt .ask (
2468
2468
"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 ,
2470
2471
)
2471
2472
2472
2473
if wallet_hotkey and is_valid_ss58_address (wallet_hotkey ):
@@ -2540,13 +2541,14 @@ def wallet_new_coldkey(
2540
2541
2541
2542
if not wallet_path :
2542
2543
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 ,
2544
2546
)
2545
2547
2546
2548
if not wallet_name :
2547
2549
wallet_name = Prompt .ask (
2548
2550
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 ,
2550
2552
)
2551
2553
2552
2554
wallet = self .wallet_ask (
You can’t perform that action at this time.
0 commit comments