Skip to content

Commit 85d2959

Browse files
authored
Merge pull request #3002 from opentensor/fix/thewhaleking/missed-await
Missed await
2 parents c40da87 + b028bc4 commit 85d2959

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/e2e_tests/utils/e2e_test_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,14 @@ async def async_wait_to_start_call(
274274
if await subtensor.is_fast_blocks() is False:
275275
in_blocks = 5
276276

277+
current_block = await subtensor.block
278+
277279
bittensor.logging.console.info(
278280
f"Waiting for [blue]{in_blocks}[/blue] blocks before [red]start call[/red]. "
279-
f"Current block: [blue]{subtensor.block}[/blue]."
281+
f"Current block: [blue]{current_block}[/blue]."
280282
)
281283

282284
# make sure we passed start_call limit
283-
current_block = await subtensor.block
284285
await subtensor.wait_for_block(current_block + in_blocks + 1)
285286
status, message = await subtensor.start_call(
286287
wallet=subnet_owner_wallet,

0 commit comments

Comments
 (0)