Skip to content

Commit ba85079

Browse files
authored
Merge pull request latent-to#4 from opentensor/fix/roman/add-period
Add period to `set_weights` for `fast block`
2 parents bcb746a + 3c5974e commit ba85079

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

validator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def run(self):
155155
uids=self.metagraph.uids,
156156
weights=weights,
157157
wait_for_inclusion=True,
158+
period=self.tempo # Good for fast blocks - otherwise make sure to set proper period or remove this argument completely
158159
)
159160
self.metagraph.sync()
160161
# sleep until next tempo

0 commit comments

Comments
 (0)