Skip to content

Commit

Permalink
Update unit test to match rule enforcement starts 21 March
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinandresen committed Mar 18, 2013
1 parent f817c49 commit d3e8c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/checkblock_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d3e8c6a

Please sign in to comment.