mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02: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…
Add table
Add a link
Reference in a new issue