diff options
| author | Ross Nicoll <[email protected]> | 2021-02-08 09:05:07 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-02-08 09:05:07 +0000 |
| commit | 0fa6b5c91206e0c438b9ed5bbeb80889df78fbc1 (patch) | |
| tree | 6cb5341b0db20044cd04df57e8d804e9a6a39ec7 | |
| parent | Halve timeouts (diff) | |
| download | discoin-0fa6b5c91206e0c438b9ed5bbeb80889df78fbc1.tar.xz discoin-0fa6b5c91206e0c438b9ed5bbeb80889df78fbc1.zip | |
Revert ltc_scrypt -> litecoin_scrypt
| -rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index 89d0ae4f1..0b4b0dc1d 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -36,7 +36,7 @@ from threading import RLock from threading import Thread import logging import copy -import litecoin_scrypt +import ltc_scrypt from test_framework.siphash import siphash256 BIP0031_VERSION = 60000 @@ -583,7 +583,7 @@ class CBlockHeader(object): r += struct.pack("<I", self.nNonce) self.sha256 = uint256_from_str(hash256(r)) self.hash = encode(hash256(r)[::-1], 'hex_codec').decode('ascii') - self.scrypt256 = uint256_from_str(litecoin_scrypt.getPoWHash(r)) + self.scrypt256 = uint256_from_str(ltc_scrypt.getPoWHash(r)) def rehash(self): self.sha256 = None |