From 46a14685ee80178492beb6873d4afc07d3b49cd8 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Fri, 10 Jan 2025 16:36:45 +0200 Subject: [PATCH] Name shadowing. --- tests/e2e_tests/utils/chain_interactions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e_tests/utils/chain_interactions.py b/tests/e2e_tests/utils/chain_interactions.py index 3255debc3..e3f6d6fbd 100644 --- a/tests/e2e_tests/utils/chain_interactions.py +++ b/tests/e2e_tests/utils/chain_interactions.py @@ -139,8 +139,8 @@ def next_tempo(current_block: int, tempo: int, netuid: int) -> int: """ interval = tempo + 1 last_epoch = current_block - 1 - (current_block + netuid + 1) % interval - next_tempo = last_epoch + interval - return next_tempo + next_tempo_ = last_epoch + interval + return next_tempo_ async def wait_interval(