diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-01-03 18:44:02 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-01-03 18:38:31 +0100 |
commit | aaaa9878405f3f38f4f61c00feca110d7f9ca481 (patch) | |
tree | 08c0b91fcc058f01d86f0a6d7de3b4d334646de9 /src/rpc | |
parent | fa39cdd072c91eac70cda04b8b26681611f94cb7 (diff) |
refactor: Use C++17 std::array deduction for ALL_FEE_ESTIMATE_HORIZONS
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 965b278bfa..52e033d0cc 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1160,7 +1160,7 @@ static RPCHelpMan estimaterawfee() UniValue result(UniValue::VOBJ); - for (const FeeEstimateHorizon horizon : {FeeEstimateHorizon::SHORT_HALFLIFE, FeeEstimateHorizon::MED_HALFLIFE, FeeEstimateHorizon::LONG_HALFLIFE}) { + for (const FeeEstimateHorizon horizon : ALL_FEE_ESTIMATE_HORIZONS) { CFeeRate feeRate; EstimationResult buckets; |