Skip to content

Commit 25a9444

Browse files
authored
Merge branch 'staging' into fix/remove-tx-limit-staking
2 parents ec18215 + 640d1dd commit 25a9444

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
@@ -232,7 +232,7 @@ def add_stake_multiple_extrinsic(
232232
total_staking_rao = sum(
233233
[amount.rao if amount is not None else 0 for amount in new_amounts]
234234
)
235-
old_balance = inital_balance = subtensor.get_balance(
235+
old_balance = initial_balance = subtensor.get_balance(
236236
wallet.coldkeypub.ss58_address, block=block
237237
)
238238
if total_staking_rao == 0:
@@ -350,7 +350,7 @@ def add_stake_multiple_extrinsic(
350350
)
351351
new_balance = subtensor.get_balance(wallet.coldkeypub.ss58_address)
352352
logging.info(
353-
f"Balance: [blue]{inital_balance}[/blue] :arrow_right: [green]{new_balance}[/green]"
353+
f"Balance: [blue]{initial_balance}[/blue] :arrow_right: [green]{new_balance}[/green]"
354354
)
355355
return True
356356

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)