Skip to content

Commit 640d1dd

Browse files
authored
Merge pull request #2687 from zeevick10/master
fix: typos in documentation files
2 parents 597b6b5 + b5bb2fe commit 640d1dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bittensor/core/extrinsics/staking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def add_stake_multiple_extrinsic(
233233
total_staking_rao = sum(
234234
[amount.rao if amount is not None else 0 for amount in new_amounts]
235235
)
236-
old_balance = inital_balance = subtensor.get_balance(
236+
old_balance = initial_balance = subtensor.get_balance(
237237
wallet.coldkeypub.ss58_address, block=block
238238
)
239239
if total_staking_rao == 0:
@@ -365,7 +365,7 @@ def add_stake_multiple_extrinsic(
365365
)
366366
new_balance = subtensor.get_balance(wallet.coldkeypub.ss58_address)
367367
logging.info(
368-
f"Balance: [blue]{inital_balance}[/blue] :arrow_right: [green]{new_balance}[/green]"
368+
f"Balance: [blue]{initial_balance}[/blue] :arrow_right: [green]{new_balance}[/green]"
369369
)
370370
return True
371371

tests/e2e_tests/test_commit_weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def test_commit_and_reveal_weights_legacy(local_chain, subtensor, alice_wa
7070
), "Failed to set weights_rate_limit"
7171
assert subtensor.weights_rate_limit(netuid=netuid) == 0
7272

73-
# Increase subnet tempo so we have enought time to commit and reveal weights
73+
# Increase subnet tempo so we have enough time to commit and reveal weights
7474
sudo_set_admin_utils(
7575
local_chain,
7676
alice_wallet,

0 commit comments

Comments
 (0)