test: Add missing validation locks

This commit is contained in:
MarcoFalke
2018-12-17 14:27:43 -05:00
parent fac4558462
commit fafe941bdd
5 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
{
CBlockPolicyEstimator feeEst;
CTxMemPool mpool(&feeEst);
LOCK(mpool.cs);
LOCK2(cs_main, mpool.cs);
TestMemPoolEntryHelper entry;
CAmount basefee(2000);
CAmount deltaFee(100);