Browse Source

Merge #9066: tests: Remove variable unused after refactoring

f91afe9 trivial: Remove variable unused after refactoring (Daniel Kraft)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
d316cfeb6e
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/test/mempool_tests.cpp

1
src/test/mempool_tests.cpp

@ -547,7 +547,6 @@ BOOST_AUTO_TEST_CASE(MempoolSizeLimitTest)
pool.addUnchecked(tx7.GetHash(), entry.Fee(9000LL).FromTx(tx7, &pool)); pool.addUnchecked(tx7.GetHash(), entry.Fee(9000LL).FromTx(tx7, &pool));
std::vector<CTransaction> vtx; std::vector<CTransaction> vtx;
std::vector<std::shared_ptr<const CTransaction>> conflicts;
SetMockTime(42); SetMockTime(42);
SetMockTime(42 + CTxMemPool::ROLLING_FEE_HALFLIFE); SetMockTime(42 + CTxMemPool::ROLLING_FEE_HALFLIFE);
BOOST_CHECK_EQUAL(pool.GetMinFee(1).GetFeePerK(), maxFeeRateRemoved.GetFeePerK() + 1000); BOOST_CHECK_EQUAL(pool.GetMinFee(1).GetFeePerK(), maxFeeRateRemoved.GetFeePerK() + 1000);

Loading…
Cancel
Save