Skip to content

Commit

Permalink
Switch to estimatesmartfee's ECONOMICAL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Apr 24, 2024
1 parent 4ff496a commit c058964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ impl Daemon {
// Missing estimates are logged but do not cause a failure, whatever is available is returned
#[allow(clippy::float_cmp)]
pub fn estimatesmartfee_batch(&self, conf_targets: &[u16]) -> Result<HashMap<u16, f64>> {
let params_list: Vec<Value> = conf_targets.iter().map(|t| json!([t])).collect();
let params_list: Vec<Value> = conf_targets.iter().map(|t| json!([t, "ECONOMICAL"])).collect();

Ok(self
.requests("estimatesmartfee", &params_list)?
Expand Down

0 comments on commit c058964

Please sign in to comment.