mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 18:53:21 +01:00
Pulled CheckBlock out of CBlock.
This commit is contained in:
@@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(May15)
|
||||
|
||||
// After May 15'th, big blocks are OK:
|
||||
forkingBlock.nTime = tMay15; // Invalidates PoW
|
||||
BOOST_CHECK(forkingBlock.CheckBlock(state, false, false));
|
||||
BOOST_CHECK(CheckBlock(forkingBlock, state, false, false));
|
||||
}
|
||||
|
||||
SetMockTime(0);
|
||||
|
||||
Reference in New Issue
Block a user