diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-03-17 22:01:59 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-03-17 22:01:59 -0400 |
commit | d3e8c6a9d3fad68b0eee4434401ec7b3066399a2 (patch) | |
tree | d015a9ca332a573327b08888653d1d8a7d97a8c7 /src/test | |
parent | f817c496a1482d05b22c8e539de67f07db1c09d9 (diff) |
Update unit test to match rule enforcement starts 21 March
Diffstat (limited to 'src/test')
-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 e167defb27..3cfb6dbfa4 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: |