aboutsummaryrefslogtreecommitdiff
path: root/src/test/policyestimator_tests.cpp
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-02-14 16:54:46 -0500
committerAlex Morcos <morcos@chaincode.com>2017-04-10 13:51:51 -0400
commitae7327b8322d36d00047e92fe699371185de1c68 (patch)
treedc0fc0e80ff4e6a34bfd2ac01c7441da0b229d07 /src/test/policyestimator_tests.cpp
parente183ea2047b3ccdbadbc7dfd5828aada9ed270a3 (diff)
Make feeEstimator its own global instance of CBlockPolicyEstimator
Diffstat (limited to 'src/test/policyestimator_tests.cpp')
-rw-r--r--src/test/policyestimator_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp
index bc2f49ef3f..93abd18306 100644
--- a/src/test/policyestimator_tests.cpp
+++ b/src/test/policyestimator_tests.cpp
@@ -16,7 +16,8 @@ BOOST_FIXTURE_TEST_SUITE(policyestimator_tests, BasicTestingSetup)
BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
{
- CTxMemPool mpool;
+ CBlockPolicyEstimator feeEst;
+ CTxMemPool mpool(&feeEst);
TestMemPoolEntryHelper entry;
CAmount basefee(2000);
CAmount deltaFee(100);