Skip to content

Commit

Permalink
validator updates
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed May 17, 2024
1 parent 09af24d commit d94ae75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion commune/vali/vali.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def run_loop(self):
else:
if self.vote_staleness > self.config.vote_interval:
c.print(self.vote())
c.print(df = self.leaderboard()[:10])
df = self.leaderboard()[:10]
c.print(df)
c.print(run_info)

except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion subnet/vali.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import commune as c

class Subnet(c.m('vali')):
def __init__(self, network='local', search='add', **kwargs):
def __init__(self, network='local', search=None, **kwargs):
self.init_vali(locals())

def score_module(self, module):
Expand Down

0 comments on commit d94ae75

Please sign in to comment.