aboutsummaryrefslogtreecommitdiff
path: root/src/test/mempool_tests.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2017-01-13 16:53:21 -0500
committerAlex Morcos <[email protected]>2017-01-17 13:21:35 -0500
commitad82cb06cecf84c4f9e5647b404b7eb19f1e9bf3 (patch)
tree2cb9752e8e999ca76984a3f169b5045bdbf31708 /src/test/mempool_tests.cpp
parentCBlockPolicyEstimator now uses hard coded minimum bucket feerate (diff)
downloaddiscoin-ad82cb06cecf84c4f9e5647b404b7eb19f1e9bf3.tar.xz
discoin-ad82cb06cecf84c4f9e5647b404b7eb19f1e9bf3.zip
Remove unnecessary min fee argument in CTxMemPool constructor
Diffstat (limited to 'src/test/mempool_tests.cpp')
-rw-r--r--src/test/mempool_tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/mempool_tests.cpp b/src/test/mempool_tests.cpp
index 91f549fe4..54298b16f 100644
--- a/src/test/mempool_tests.cpp
+++ b/src/test/mempool_tests.cpp
@@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(MempoolRemoveTest)
}
- CTxMemPool testPool(CFeeRate(0));
+ CTxMemPool testPool;
// Nothing in pool, remove should do nothing:
unsigned int poolSize = testPool.size();
@@ -118,7 +118,7 @@ void CheckSort(CTxMemPool &pool, std::vector<std::string> &sortedOrder)
BOOST_AUTO_TEST_CASE(MempoolIndexingTest)
{
- CTxMemPool pool(CFeeRate(0));
+ CTxMemPool pool;
TestMemPoolEntryHelper entry;
/* 3rd highest fee */
@@ -320,7 +320,7 @@ BOOST_AUTO_TEST_CASE(MempoolIndexingTest)
BOOST_AUTO_TEST_CASE(MempoolAncestorIndexingTest)
{
- CTxMemPool pool(CFeeRate(0));
+ CTxMemPool pool;
TestMemPoolEntryHelper entry;
/* 3rd highest fee */
@@ -432,7 +432,7 @@ BOOST_AUTO_TEST_CASE(MempoolAncestorIndexingTest)
BOOST_AUTO_TEST_CASE(MempoolSizeLimitTest)
{
- CTxMemPool pool(CFeeRate(1000));
+ CTxMemPool pool;
TestMemPoolEntryHelper entry;
entry.dPriority = 10.0;