Skip to content

Commit

Permalink
only show miner hotkey's own positions
Browse files Browse the repository at this point in the history
  • Loading branch information
sli-tao committed Feb 20, 2025
1 parent 1719a84 commit 91d7a92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vali_objects/utils/challengeperiod_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def inspect(
# Get hotkey to positions dict that only includes the inspection miner
has_minimum_positions, inspection_positions = ChallengePeriodManager.screen_minimum_positions(positions=positions, inspection_hotkey=hotkey)
if not has_minimum_positions:
miners_not_enough_positions.append((hotkey, positions))
miners_not_enough_positions.append((hotkey, positions.get(hotkey, [])))
passing_criteria = False

# Get hotkey to ledger dict that only includes the inspection miner
Expand Down Expand Up @@ -540,4 +540,4 @@ def _write_challengeperiod_from_memory_to_disk(self):
running_unit_tests=self.running_unit_tests
),
challengeperiod_data
)
)

0 comments on commit 91d7a92

Please sign in to comment.