Skip to content

Commit

Permalink
style: add clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
danmt committed Aug 1, 2024
1 parent 8869e43 commit 3f0fd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znap-cli/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub fn get_identity_keypair(config: &Config, collection: &Collection) -> Keypair
let envs = get_envs(config, collection, None, None, None);

match envs.get("IDENTITY_KEYPAIR") {
Some(keypair) => Keypair::from_base58_string(&keypair),
Some(keypair) => Keypair::from_base58_string(keypair),
_ => match envs.get("IDENTITY_KEYPAIR_PATH") {
Some(path) => {
let keypair_file = std::fs::read_to_string(path).unwrap();
Expand Down

0 comments on commit 3f0fd02

Please sign in to comment.