Use named placeholders in formatting
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
This commit is contained in:
parent
0b9540cb84
commit
9cec96147b
|
@ -491,9 +491,8 @@ pub enum ClusterCommand {
|
|||
}
|
||||
|
||||
fn get_keypair(path: String) -> Result<Keypair> {
|
||||
let keypair = solana_sdk::signature::read_keypair_file(&path)
|
||||
.map_err(|_| anyhow!("Unable to read keypair file ({})", path))?;
|
||||
Ok(keypair)
|
||||
solana_sdk::signature::read_keypair_file(&path)
|
||||
.map_err(|_| anyhow!("Unable to read keypair file ({path})"))
|
||||
}
|
||||
|
||||
pub fn entry(opts: Opts) -> Result<()> {
|
||||
|
|
Loading…
Reference in New Issue