diff options
| author | Ross Nicoll <[email protected]> | 2018-08-27 12:34:34 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-04-03 05:16:26 +0000 |
| commit | 76a9aab2f48c26f358b7be63a9ca3ca663575f7d (patch) | |
| tree | 3ee38a8c6e47d5327fcf42babe54d22c67098fe5 /src/test/validation_block_tests.cpp | |
| parent | doc: Fill in authors and changelog for 0.17.1 release notes (diff) | |
| download | discoin-76a9aab2f48c26f358b7be63a9ca3ca663575f7d.tar.xz discoin-76a9aab2f48c26f358b7be63a9ca3ca663575f7d.zip | |
Scrypt n=1024 PoW hash
Scrypt n=1024 PoW hash based upon Colin Percival's Tarnsnap (2009)
Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher, Ross Nicoll
Diffstat (limited to 'src/test/validation_block_tests.cpp')
| -rw-r--r-- | src/test/validation_block_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/validation_block_tests.cpp b/src/test/validation_block_tests.cpp index 37c4f7913..80cd9bf57 100644 --- a/src/test/validation_block_tests.cpp +++ b/src/test/validation_block_tests.cpp @@ -71,7 +71,7 @@ std::shared_ptr<CBlock> FinalizeBlock(std::shared_ptr<CBlock> pblock) { pblock->hashMerkleRoot = BlockMerkleRoot(*pblock); - while (!CheckProofOfWork(pblock->GetHash(), pblock->nBits, Params().GetConsensus())) { + while (!CheckProofOfWork(pblock->GetPoWHash(), pblock->nBits, Params().GetConsensus())) { ++(pblock->nNonce); } |