Browse Source

Make unit tests succeed with -DDEBUG_LOCKORDER

pull/145/head
Gavin Andresen 11 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)
CScript script;
uint256 hash;
LOCK(cs_main);
// Simple block creation, nothing special yet:
BOOST_CHECK(pblocktemplate = CreateNewBlockWithKey(reservekey));

Loading…
Cancel
Save