Skip to content
Permalink
Browse files
[rpc-tests] Change solve() to use rehash
Github-Pull: #7468
Rebased-From: 7689041
  • Loading branch information
mrbandrews authored and laanwj committed Feb 10, 2016
1 parent 9cb31e6 commit 947c4ff72495e1af6dca68c285d967269d5c9116
Showing 1 changed file with 1 addition and 1 deletion.
@@ -536,7 +536,7 @@ def is_valid(self):
return True

def solve(self):
self.calc_sha256()
self.rehash()
target = uint256_from_compact(self.nBits)
while self.sha256 > target:
self.nNonce += 1

0 comments on commit 947c4ff

Please sign in to comment.