diff options
| author | Alex Morcos <[email protected]> | 2017-06-13 13:44:52 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-07-06 22:20:23 -0400 |
| commit | e0738e3d319ab50466bf76c95841bb7275ad4d22 (patch) | |
| tree | 8b7ea639c1024426e5fe0e465f911568e5c007c2 /src/test/policyestimator_tests.cpp | |
| parent | Introduce a fee estimate mode. (diff) | |
| download | discoin-e0738e3d319ab50466bf76c95841bb7275ad4d22.tar.xz discoin-e0738e3d319ab50466bf76c95841bb7275ad4d22.zip | |
remove default argument from estimateSmartFee
Diffstat (limited to 'src/test/policyestimator_tests.cpp')
| -rw-r--r-- | src/test/policyestimator_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp index 6bfd31564..8cdd39210 100644 --- a/src/test/policyestimator_tests.cpp +++ b/src/test/policyestimator_tests.cpp @@ -184,8 +184,8 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates) mpool.TrimToSize(1); BOOST_CHECK(mpool.GetMinFee(1).GetFeePerK() > feeV[5]); for (int i = 1; i < 10; i++) { - BOOST_CHECK(feeEst.estimateSmartFee(i, NULL, mpool).GetFeePerK() >= feeEst.estimateRawFee(i, 0.85, FeeEstimateHorizon::MED_HALFLIFE).GetFeePerK()); - BOOST_CHECK(feeEst.estimateSmartFee(i, NULL, mpool).GetFeePerK() >= mpool.GetMinFee(1).GetFeePerK()); + BOOST_CHECK(feeEst.estimateSmartFee(i, NULL, mpool, true).GetFeePerK() >= feeEst.estimateRawFee(i, 0.85, FeeEstimateHorizon::MED_HALFLIFE).GetFeePerK()); + BOOST_CHECK(feeEst.estimateSmartFee(i, NULL, mpool, true).GetFeePerK() >= mpool.GetMinFee(1).GetFeePerK()); } } |