diff options
| author | Gavin Andresen <[email protected]> | 2013-03-17 22:01:59 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-03-17 22:01:59 -0400 |
| commit | d3e8c6a9d3fad68b0eee4434401ec7b3066399a2 (patch) | |
| tree | d015a9ca332a573327b08888653d1d8a7d97a8c7 /src/test/checkblock_tests.cpp | |
| parent | Checkpoint at first block in 11 March chain fork (diff) | |
| download | discoin-d3e8c6a9d3fad68b0eee4434401ec7b3066399a2.tar.xz discoin-d3e8c6a9d3fad68b0eee4434401ec7b3066399a2.zip | |
Update unit test to match rule enforcement starts 21 March
Diffstat (limited to 'src/test/checkblock_tests.cpp')
| -rw-r--r-- | src/test/checkblock_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/checkblock_tests.cpp b/src/test/checkblock_tests.cpp index e167defb2..3cfb6dbfa 100644 --- a/src/test/checkblock_tests.cpp +++ b/src/test/checkblock_tests.cpp @@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(May15) if (read_block("Mar12Fork.dat", forkingBlock)) { CValidationState state; - BOOST_CHECK(!forkingBlock.CheckBlock(state, true, true)); + forkingBlock.nTime = tMay15-1; // Invalidates PoW BOOST_CHECK(!forkingBlock.CheckBlock(state, false, false)); // After May 15'th, big blocks are OK: |