mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-02 19:52:56 +02:00
Make unit tests succeed with -DDEBUG_LOCKORDER
This commit is contained in:
@@ -57,6 +57,8 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
|
||||
CScript script;
|
||||
uint256 hash;
|
||||
|
||||
LOCK(cs_main);
|
||||
|
||||
// Simple block creation, nothing special yet:
|
||||
BOOST_CHECK(pblocktemplate = CreateNewBlockWithKey(reservekey));
|
||||
|
||||
|
Reference in New Issue
Block a user