Update unit test to match rule enforcement starts 21 March
This commit is contained in:
parent
f817c496a1
commit
d3e8c6a9d3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(May15)
|
||||||
if (read_block("Mar12Fork.dat", forkingBlock))
|
if (read_block("Mar12Fork.dat", forkingBlock))
|
||||||
{
|
{
|
||||||
CValidationState state;
|
CValidationState state;
|
||||||
BOOST_CHECK(!forkingBlock.CheckBlock(state, true, true));
|
forkingBlock.nTime = tMay15-1; // Invalidates PoW
|
||||||
BOOST_CHECK(!forkingBlock.CheckBlock(state, false, false));
|
BOOST_CHECK(!forkingBlock.CheckBlock(state, false, false));
|
||||||
|
|
||||||
// After May 15'th, big blocks are OK:
|
// After May 15'th, big blocks are OK:
|
||||||
|
|
Loading…
Reference in a new issue