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 4, 2016
1 parent 9cb31e6 commit 947c4ff72495e1af6dca68c285d967269d5c9116
Showing with 1 addition and 1 deletion.
  1. +1 −1 qa/rpc-tests/test_framework/mininode.py
@@ -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.