mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-31 01:04:20 +00:00
Make unit tests succeed with -DDEBUG_LOCKORDER
This commit is contained in:
parent
a65edb104d
commit
49dc3a0f1a
@ -57,6 +57,8 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
|
|||||||
CScript script;
|
CScript script;
|
||||||
uint256 hash;
|
uint256 hash;
|
||||||
|
|
||||||
|
LOCK(cs_main);
|
||||||
|
|
||||||
// Simple block creation, nothing special yet:
|
// Simple block creation, nothing special yet:
|
||||||
BOOST_CHECK(pblocktemplate = CreateNewBlockWithKey(reservekey));
|
BOOST_CHECK(pblocktemplate = CreateNewBlockWithKey(reservekey));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user