Skip to content

Commit

Permalink
Hotfix - ethermine checker bug
Browse files Browse the repository at this point in the history
Fixed issue with ethermine checker where found_worker is always true.
  • Loading branch information
o4ugDF54PlqU committed Jul 5, 2021
1 parent 4ce0c74 commit 35c746b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions bot - ethermine - multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ async def check_hashrate():
else:
low_hash = 0

found_worker = True
startup = False
found_worker = True
startup = False
break

if found_worker == False and startup == False:
await channel.send(f"{worker_name} not found on pool, rebooting")
Expand Down
5 changes: 3 additions & 2 deletions bot - ethermine.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ async def check_hashrate():
else:
low_hash = 0

found_worker = True
startup = False
found_worker = True
startup = False
break

if found_worker == False and startup == False:
await channel.send("worker not found on pool, rebooting")
Expand Down

0 comments on commit 35c746b

Please sign in to comment.