Skip to content

Commit fcca352

Browse files
committed
Fixes subnet create requiring hotkey
1 parent 0374b9b commit fcca352

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

bittensor_cli/cli.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3968,7 +3968,6 @@ def subnets_create(
39683968
self,
39693969
wallet_name: str = Options.wallet_name,
39703970
wallet_path: str = Options.wallet_path,
3971-
wallet_hotkey: str = Options.wallet_hotkey,
39723971
network: Optional[list[str]] = Options.network,
39733972
prompt: bool = Options.prompt,
39743973
quiet: bool = Options.quiet,
@@ -3985,9 +3984,9 @@ def subnets_create(
39853984
wallet = self.wallet_ask(
39863985
wallet_name,
39873986
wallet_path,
3988-
wallet_hotkey,
3989-
ask_for=[WO.NAME, WO.HOTKEY],
3990-
validate=WV.WALLET_AND_HOTKEY,
3987+
None,
3988+
ask_for=[WO.NAME],
3989+
validate=WV.WALLET,
39913990
)
39923991
return self._run_command(
39933992
subnets.create(wallet, self.initialize_chain(network), prompt)

0 commit comments

Comments
 (0)