diff options
| author | mrbandrews <[email protected]> | 2016-02-04 14:36:11 -0500 |
|---|---|---|
| committer | mrbandrews <[email protected]> | 2016-02-04 14:36:11 -0500 |
| commit | 7689041c03278a09c88a2bb78cd00217f6d4b1de (patch) | |
| tree | 3d42cc64fae2ebef2a2bb8307e3938bfab7632c0 | |
| parent | Merge #7349: Build against system UniValue when available (diff) | |
| download | discoin-7689041c03278a09c88a2bb78cd00217f6d4b1de.tar.xz discoin-7689041c03278a09c88a2bb78cd00217f6d4b1de.zip | |
[rpc-tests] Change solve() to use rehash
| -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 ca65fb6e7..2135570b8 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 |