Skip to content

Commit e4ba586

Browse files
committed
More defaults
1 parent ba7cca5 commit e4ba586

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

bittensor_cli/cli.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2420,6 +2420,18 @@ def wallet_new_hotkey(
24202420
"""
24212421
self.verbosity_handler(quiet, verbose, json_output)
24222422

2423+
if not wallet_name:
2424+
wallet_name = Prompt.ask(
2425+
f"Enter the [{COLORS.G.CK}]wallet name",
2426+
default=self.config.get("wallet_name") or defaults.wallet.name,
2427+
)
2428+
2429+
if not wallet_hotkey:
2430+
wallet_hotkey = Prompt.ask(
2431+
f"Enter the name of the [{COLORS.G.HK}]new hotkey",
2432+
default=self.config.get("wallet_hotkey") or defaults.wallet.hotkey,
2433+
)
2434+
24232435
wallet = self.wallet_ask(
24242436
wallet_name,
24252437
wallet_path,

0 commit comments

Comments
 (0)