Skip to content

Commit 0adc99a

Browse files
tests: fix e2e wait_epoch
1 parent 8245f64 commit 0adc99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e_tests/utils/chain_interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def wait_epoch(subtensor: "Subtensor", netuid: int = 1):
8181
q_tempo = [v for (k, v) in subtensor.query_map_subtensor("Tempo") if k == netuid]
8282
if len(q_tempo) == 0:
8383
raise Exception("could not determine tempo")
84-
tempo = q_tempo[0]
84+
tempo = q_tempo[0].value
8585
logging.info(f"tempo = {tempo}")
8686
await wait_interval(tempo, subtensor, netuid)
8787

0 commit comments

Comments
 (0)