Skip to content
This repository
Browse code

consume invalid results preventing re-send

  • Loading branch information...
commit 27fc69bc6d96ca7bc6eb830c24ae74feeafa48e7 1 parent bb543e0
m0mchil authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  Servers.py
1  Servers.py
@@ -178,6 +178,7 @@ def send(self, result, send_callback):
178 178 h = hash(result.state, result.merkle_end, result.time, result.difficulty, result.nonce[i])
179 179 if h[7] != 0:
180 180 say_line('Verification failed, check hardware! (%s)', (result.miner.id()))
  181 + return True # consume this particular result
181 182 else:
182 183 self.diff1_found(bytereverse(h[6]), result.target[6])
183 184 if belowOrEquals(h[:7], result.target[:7]):

0 comments on commit 27fc69b

Please sign in to comment.
Something went wrong with that request. Please try again.