From 95355fe2e38f164030608687a97ded2f6e371eac Mon Sep 17 00:00:00 2001 From: Peter Carlson Date: Tue, 14 Jan 2025 12:57:51 -0500 Subject: [PATCH] update new_miner check in weight_setter.py --- precog/validators/weight_setter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precog/validators/weight_setter.py b/precog/validators/weight_setter.py index 38f10d2..c8cc71c 100755 --- a/precog/validators/weight_setter.py +++ b/precog/validators/weight_setter.py @@ -109,7 +109,7 @@ async def resync_metagraph(self): # Process hotkey changes for uid, hotkey in enumerate(self.metagraph.hotkeys): - new_miner = uid not in self.hotkeys + new_miner = uid in new_uids and uid not in old_uids if not new_miner: replaced_miner = self.hotkeys[uid] != hotkey else: