Update unit test to match rule enforcement starts 21 March

This commit is contained in:
Gavin Andresen 2013-03-17 22:01:59 -04:00
parent f817c496a1
commit d3e8c6a9d3

View file

@ -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: