aboutsummaryrefslogtreecommitdiff
path: root/src/test/policyestimator_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-12-17 14:27:43 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-12-17 14:27:29 -0500
commitfafe941bdd4572b5b9200457a2267888d7efd9bb (patch)
tree77e48cd8829ce5c27e0aa0ff1321a59ae5af10cc /src/test/policyestimator_tests.cpp
parentfac4558462cb668581c1a6564876f58093901b9c (diff)
test: Add missing validation locks
Diffstat (limited to 'src/test/policyestimator_tests.cpp')
-rw-r--r--src/test/policyestimator_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp
index 431b16cfc2..7b274a1658 100644
--- a/src/test/policyestimator_tests.cpp
+++ b/src/test/policyestimator_tests.cpp
@@ -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);