Remove unnecessary min fee argument in CTxMemPool constructor

This commit is contained in:
Alex Morcos
2017-01-13 16:53:21 -05:00
parent 2a7b56cc0e
commit ad82cb06ce
7 changed files with 13 additions and 13 deletions

View File

@@ -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;