Skip to content

Commit

Permalink
Update jobs.py
Browse files Browse the repository at this point in the history
removed midstate calculation
  • Loading branch information
mrtexaznl committed Jan 23, 2014
1 parent c6c7b7f commit 98414a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mining_libs/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def getwork(self, no_midstate=True):
else:
result['target'] = self.target1_hex

if calculateMidstate and not (no_midstate or self.no_midstate):
# Midstate module not found or disabled
result['midstate'] = binascii.hexlify(calculateMidstate(header_bin))
#if calculateMidstate and not (no_midstate or self.no_midstate):
## Midstate module not found or disabled
#result['midstate'] = binascii.hexlify(calculateMidstate(header_bin))

return result

Expand Down

0 comments on commit 98414a2

Please sign in to comment.