diff --git a/apex/validator/weight_syncer.py b/apex/validator/weight_syncer.py index a4bf55f00..3c9e4bc67 100644 --- a/apex/validator/weight_syncer.py +++ b/apex/validator/weight_syncer.py @@ -150,7 +150,7 @@ async def compute_weighted_rewards(self, hotkey_rewards: dict[str, float]) -> di results = await asyncio.gather(*validator_rewards_tasks.values(), return_exceptions=True) - all_miner_hotkeys: set[str] = set() + all_miner_hotkeys: set[str] = set(hotkey_rewards) validator_rewards: dict[int, dict[str, float]] = {} for uid, result in zip(validator_rewards_tasks, results, strict=True): if isinstance(result, BaseException) or not result: