diff options
| author | Ross Nicoll <[email protected]> | 2017-09-24 15:56:19 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 19:23:29 +0100 |
| commit | 1de15c70ce8065334fd827b137eba8fb899b527a (patch) | |
| tree | 1ee5cc2bc768e4d018aebb403e960462d7ce18b6 /src/test/auxpow_tests.cpp | |
| parent | Sync mining code from Namecore to resolve unit test failures (#1385) (diff) | |
| download | discoin-1de15c70ce8065334fd827b137eba8fb899b527a.tar.xz discoin-1de15c70ce8065334fd827b137eba8fb899b527a.zip | |
Sync changes from Dogecoin 1.10
Diffstat (limited to 'src/test/auxpow_tests.cpp')
| -rw-r--r-- | src/test/auxpow_tests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/auxpow_tests.cpp b/src/test/auxpow_tests.cpp index eaad49eef..5cb2e3269 100644 --- a/src/test/auxpow_tests.cpp +++ b/src/test/auxpow_tests.cpp @@ -362,7 +362,9 @@ BOOST_AUTO_TEST_CASE(auxpow_pow) mineBlock(block, true); BOOST_CHECK(CheckAuxPowProofOfWork(block, params)); - block.nVersion = 2; + // Dogecoin block version 2 can be both AuxPoW and regular, so test 3 + + block.nVersion = 3; mineBlock(block, true); BOOST_CHECK(!CheckAuxPowProofOfWork(block, params)); |