Skip to content

Commit 5ca2554

Browse files
committed
nits
1 parent a0a1e6e commit 5ca2554

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bittensor_cli/src/commands/stake/claim.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ async def set_claim_type(
167167
console.print(
168168
Panel(
169169
f"[{COLORS.GENERAL.HEADER}]Confirm Claim Type Change[/{COLORS.GENERAL.HEADER}]\n\n"
170-
f"[yellow]FROM:[/yellow] {_format_claim_type_display(current_claim_info, all_subnets)}\n\n"
171-
f"[yellow]TO:[/yellow] {_format_claim_type_display(new_claim_info, all_subnets)}"
170+
f"FROM: {_format_claim_type_display(current_claim_info, all_subnets)}\n\n"
171+
f"TO: {_format_claim_type_display(new_claim_info, all_subnets)}"
172172
)
173173
)
174174

@@ -607,7 +607,7 @@ async def _prompt_claim_netuids(
607607
continue
608608

609609
try:
610-
selected = parse_subnet_range(subnet_input)
610+
selected = parse_subnet_range(subnet_input, total_subnets=len(all_subnets))
611611
invalid = [s for s in selected if s not in all_subnets]
612612
if invalid:
613613
err_console.print(

bittensor_cli/src/commands/subnets/subnets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,8 @@ async def show_root():
12111211
- Emission: The emission accrued to this hotkey across all subnets every block measured in TAO.
12121212
- Hotkey: The hotkey ss58 address.
12131213
- Coldkey: The coldkey ss58 address.
1214-
- Root Claim: The root claim type for this coldkey. 'Swap' converts Alpha to TAO every epoch. 'Keep' keeps Alpha emissions.
1214+
- Root Claim: The root claim type for this coldkey. 'Swap' converts Alpha to TAO every epoch. 'Keep' keeps Alpha emissions.
1215+
'Keep (count)' indicates how many subnets this coldkey is keeping Alpha emissions for.
12151216
"""
12161217
)
12171218
if delegate_selection:

0 commit comments

Comments
 (0)