Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling errors #2586

Merged
merged 6 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bittensor/core/extrinsics/commit_reveal.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def commit_reveal_v3_extrinsic(

if success is True:
logging.success(
f"[green]Finalized![/green] Weights commited with reveal round [blue]{reveal_round}[/blue]."
f"[green]Finalized![/green] Weights committed with reveal round [blue]{reveal_round}[/blue]."
)
return True, f"reveal_round:{reveal_round}"
else:
Expand Down
4 changes: 2 additions & 2 deletions bittensor/utils/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def int_to_ip(int_val: int) -> str:
def ip_to_int(str_val: str) -> int:
"""Maps an ip-string to a unique integer.
arg:
str_val (:tyep:`str`, `required):
str_val (:type:`str`, `required):
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6

Returns:
Expand All @@ -51,7 +51,7 @@ def ip_to_int(str_val: str) -> int:
def ip_version(str_val: str) -> int:
"""Returns the ip version (IPV4 or IPV6).
arg:
str_val (:tyep:`str`, `required):
str_val (:type:`str`, `required):
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6

Returns:
Expand Down