mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-01 03:16:09 +02:00
refactor: Use C++17 std::array deduction for ALL_FEE_ESTIMATE_HORIZONS
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user