mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
Make unit tests succeed with -DDEBUG_LOCKORDER
This commit is contained in:
parent
a65edb104d
commit
49dc3a0f1a
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue