From d3e8c6a9d3fad68b0eee4434401ec7b3066399a2 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Sun, 17 Mar 2013 22:01:59 -0400 Subject: [PATCH] Update unit test to match rule enforcement starts 21 March --- src/test/checkblock_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: