Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hscott-yuma committed Dec 6, 2024
1 parent 0b3467e commit ca2b7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precog/validators/weight_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, config=None, loop=None):
self.load_state()
self.current_block = self.subtensor.get_current_block()
self.blocks_since_last_update = self.subtensor.blocks_since_last_update(
neutid=self.config.netuid, uid=self.my_uid
netuid=self.config.netuid, uid=self.my_uid
)
if self.config.wandb_on:
setup_wandb(self)
Expand Down Expand Up @@ -120,7 +120,7 @@ async def set_weights(self):
try:
self.current_block = self.subtensor.get_current_block()
self.blocks_since_last_update = self.subtensor.blocks_since_last_update(
neutid=self.config.netuid, uid=self.my_uid
netuid=self.config.netuid, uid=self.my_uid
)
except Exception:
bt.logging.error("Failed to get current block, skipping block update")
Expand Down

0 comments on commit ca2b7b3

Please sign in to comment.