Skip to content

Commit

Permalink
Merge #7468: [rpc-tests] Change solve() to use rehash
Browse files Browse the repository at this point in the history
7689041 [rpc-tests] Change solve() to use rehash (mrbandrews)
  • Loading branch information
laanwj committed Feb 5, 2016
2 parents e7eeb94 + 7689041 commit cf63d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/test_framework/mininode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf63d5c

Please sign in to comment.