diff --git a/src/subcommand/server.rs b/src/subcommand/server.rs index dc3f7a23d5..8e2504c98e 100644 --- a/src/subcommand/server.rs +++ b/src/subcommand/server.rs @@ -1253,7 +1253,13 @@ impl Server { confirmations: info.confirmations, difficulty: info.difficulty, hash, - fr_10th: stats.fee_rate_percentiles.fr_10th.to_sat(), + feerate_percentiles: [ + stats.fee_rate_percentiles.fr_10th.to_sat(), + stats.fee_rate_percentiles.fr_25th.to_sat(), + stats.fee_rate_percentiles.fr_50th.to_sat(), + stats.fee_rate_percentiles.fr_75th.to_sat(), + stats.fee_rate_percentiles.fr_90th.to_sat() + ], height: info.height.try_into().unwrap(), max_fee: stats.max_fee.to_sat(), max_fee_rate: stats.max_fee_rate.to_sat(), @@ -6169,7 +6175,7 @@ next hash: "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" .parse() .unwrap(), - fr_10th: 0, + feerate_percentiles: [0, 0, 0, 0, 0], height: 0, max_fee: 0, max_fee_rate: 0, @@ -6209,7 +6215,7 @@ next hash: "56d05060a0280d0712d113f25321158747310ece87ea9e299bde06cf385b8d85" .parse() .unwrap(), - fr_10th: 0, + feerate_percentiles: [0, 0, 0, 0, 0], height: 1, max_fee: 0, max_fee_rate: 0,