From a19a34ab205b08ec6812b88521f9933d102c2f09 Mon Sep 17 00:00:00 2001 From: Dmytro Bobrenko <17252809+dbobrenko@users.noreply.github.com> Date: Tue, 12 Aug 2025 16:28:47 +0200 Subject: [PATCH] Fix miner hotkeys on weight sync --- apex/validator/weight_syncer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: