Skip to content

Commit c03e82a

Browse files
committed
fix unstaking
1 parent 801496f commit c03e82a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/e2e_tests/test_unstaking.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -208,21 +208,11 @@ def test_unstaking(local_chain, wallet_setup):
208208
cleaned_stake = [
209209
re.sub(r"\s+", " ", line) for line in stake_list.stdout.splitlines()
210210
]
211-
stake_after_unstaking_netuid_2 = cleaned_stake[9].split("│")[3].strip().split()[0]
211+
stake_after_unstaking_netuid_2 = cleaned_stake[10].split("│")[3].strip().split()[0]
212212
assert Balance.from_tao(float(stake_after_unstaking_netuid_2)) <= Balance.from_tao(
213213
float(inital_stake_netuid_2)
214214
)
215215

216-
print(
217-
"Bob wallet deets: ",
218-
"hotkey: ",
219-
wallet_bob.hotkey_str,
220-
"name: ",
221-
wallet_bob.name,
222-
"path: ",
223-
wallet_bob.path,
224-
)
225-
226216
# Remove all alpha stakes
227217
unstake_alpha = exec_command_bob(
228218
command="stake",

0 commit comments

Comments
 (0)