diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-12-05 21:46:08 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2016-12-08 15:40:14 -0500 |
commit | eab8e1b1725f7458e3db6f0ea0bc04ec603d8e9b (patch) | |
tree | 03da0f27850d474b28688153f934b484742262b8 /src/policy/fees.h | |
parent | 7d5d44969b4ab46a5146a46b4ed1ed7704d71c63 (diff) |
fix a bug if the min fee is 0 for FeeFilterRounder
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r-- | src/policy/fees.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index ea4c70e616..003f7a7f23 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -179,7 +179,7 @@ static const double MIN_SUCCESS_PCT = .95; static const double SUFFICIENT_FEETXS = 1; // Minimum and Maximum values for tracking feerates -static const double MIN_FEERATE = 10; +static constexpr double MIN_FEERATE = 10; static const double MAX_FEERATE = 1e7; static const double INF_FEERATE = MAX_MONEY; static const double INF_PRIORITY = 1e9 * MAX_MONEY; |