Browse Source

Make unit tests succeed with -DDEBUG_LOCKORDER

pull/1/head
Gavin Andresen 9 years ago
parent
commit
49dc3a0f1a
  1. 2
      src/test/miner_tests.cpp

2
src/test/miner_tests.cpp

@ -57,6 +57,8 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) @@ -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…
Cancel
Save