diff options
| author | Alex Morcos <[email protected]> | 2017-02-14 16:54:46 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-04-10 13:51:51 -0400 |
| commit | ae7327b8322d36d00047e92fe699371185de1c68 (patch) | |
| tree | dc0fc0e80ff4e6a34bfd2ac01c7441da0b229d07 /src/test/policyestimator_tests.cpp | |
| parent | Merge #10164: Wallet: reduce excess logic InMempool() (diff) | |
| download | discoin-ae7327b8322d36d00047e92fe699371185de1c68.tar.xz discoin-ae7327b8322d36d00047e92fe699371185de1c68.zip | |
Make feeEstimator its own global instance of CBlockPolicyEstimator
Diffstat (limited to 'src/test/policyestimator_tests.cpp')
| -rw-r--r-- | src/test/policyestimator_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp index bc2f49ef3..93abd1830 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); |