Skip to content

Commit

Permalink
clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Serdnad committed Nov 25, 2024
1 parent a5c07ff commit dbe1ee4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ use solana_sdk::transaction::Transaction;
use std::collections::BTreeMap;
use std::collections::HashMap;
use std::collections::HashSet;
use std::error::Error;
use std::ffi::OsString;
use std::fs::{self, File};
use std::io::prelude::*;
Expand Down Expand Up @@ -4774,7 +4773,7 @@ fn add_recommended_deployment_solana_args(

// If no priority fee is provided, calculate a recommended fee based on recent txs.
if !args.contains(&"--with-compute-unit-price".to_string()) {
let priority_fee = get_recommended_micro_lamport_fee(&client)?;
let priority_fee = get_recommended_micro_lamport_fee(client)?;
augmented_args.push("--with-compute-unit-price".to_string());
augmented_args.push(priority_fee.to_string());
}
Expand Down

0 comments on commit dbe1ee4

Please sign in to comment.