diff options
| author | Ross Nicoll <[email protected]> | 2019-07-12 01:20:58 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-07-12 01:26:11 +0000 |
| commit | 776c2b3d2c77727cde19830d3cc5f1f4d46fe977 (patch) | |
| tree | 54beb3b7a57d35fd5ddc9abeb9fed143e43746b4 /qa/rpc-tests/test_framework | |
| parent | Mark 1.14 ready for release (diff) | |
| download | discoin-776c2b3d2c77727cde19830d3cc5f1f4d46fe977.tar.xz discoin-776c2b3d2c77727cde19830d3cc5f1f4d46fe977.zip | |
Update to litecoin_scrypt
The old ltc_scrypt module works on systems it is installed on, but does not
install on new systems it appears. Our README says to use litecoin_scrypt,
so updating the code to match.
Diffstat (limited to 'qa/rpc-tests/test_framework')
| -rw-r--r-- | qa/rpc-tests/test_framework/scrypt_auxpow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/test_framework/scrypt_auxpow.py b/qa/rpc-tests/test_framework/scrypt_auxpow.py index 1e95a5820..7cb68ee03 100644 --- a/qa/rpc-tests/test_framework/scrypt_auxpow.py +++ b/qa/rpc-tests/test_framework/scrypt_auxpow.py @@ -8,12 +8,12 @@ # solve an auxpow header and to generate auxpow blocks with scrypt. # extends and modifies auxpow module by Daniel Kraft. -# This module requires a built and installed version of the ltc_scrypt +# This module requires a built and installed version of the litecoin_scrypt # package, which can be downloaded from: # https://pypi.python.org/packages/source/l/ltc_scrypt/ltc_scrypt-1.0.tar.gz from .auxpow import * -import ltc_scrypt +import litecoin_scrypt def computeAuxpowWithChainId (block, target, chainid, ok): """ @@ -101,4 +101,4 @@ def getScryptPoW(hexData): """ data = bytes.fromhex(hexData) - return reverseHex(ltc_scrypt.getPoWHash(data).hex()) + return reverseHex(litecoin_scrypt.getPoWHash(data).hex()) |