diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-02-05 11:13:49 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-02-05 11:17:52 +0100 |
commit | cf63d5c710edd1ec6b7a24e3ec5121ec539709b3 (patch) | |
tree | b1fea1496a198901366f7708f19a24bba23f963a | |
parent | e7eeb945cd2de432d0572348122efd8580275336 (diff) | |
parent | 7689041c03278a09c88a2bb78cd00217f6d4b1de (diff) |
Merge #7468: [rpc-tests] Change solve() to use rehash
7689041 [rpc-tests] Change solve() to use rehash (mrbandrews)
-rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index ca65fb6e79..2135570b8c 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -536,7 +536,7 @@ class CBlock(CBlockHeader): return True def solve(self): - self.calc_sha256() + self.rehash() target = uint256_from_compact(self.nBits) while self.sha256 > target: self.nNonce += 1 |