Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:Storj/dataserv into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
F483 committed Sep 12, 2015
2 parents abdc9dd + 8c24e7c commit a795a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataserv/Farmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def audit(self):

def set_height(self, height):
"""Set the farmers advertised height."""
self.ping() # also serves as a valid ping
farmer = self.lookup()
farmer.height = height
farmer.last_seen = datetime.utcnow()
db.session.commit()
return self.height

Expand Down

0 comments on commit a795a5c

Please sign in to comment.