Skip to content

Commit 94749d2

Browse files
authored
Merge pull request #2586 from Dimitrolito/fix/spelling
Fix spelling errors
2 parents 8db8d5a + 48047c1 commit 94749d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bittensor/core/extrinsics/commit_reveal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def commit_reveal_v3_extrinsic(
145145

146146
if success is True:
147147
logging.success(
148-
f"[green]Finalized![/green] Weights commited with reveal round [blue]{reveal_round}[/blue]."
148+
f"[green]Finalized![/green] Weights committed with reveal round [blue]{reveal_round}[/blue]."
149149
)
150150
return True, f"reveal_round:{reveal_round}"
151151
else:

bittensor/utils/networking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def int_to_ip(int_val: int) -> str:
3434
def ip_to_int(str_val: str) -> int:
3535
"""Maps an ip-string to a unique integer.
3636
arg:
37-
str_val (:tyep:`str`, `required):
37+
str_val (:type:`str`, `required):
3838
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6
3939
4040
Returns:
@@ -51,7 +51,7 @@ def ip_to_int(str_val: str) -> int:
5151
def ip_version(str_val: str) -> int:
5252
"""Returns the ip version (IPV4 or IPV6).
5353
arg:
54-
str_val (:tyep:`str`, `required):
54+
str_val (:type:`str`, `required):
5555
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6
5656
5757
Returns:

0 commit comments

Comments
 (0)