diff --git a/crates/zk-por-cli/src/main.rs b/crates/zk-por-cli/src/main.rs index 918497c..757bee3 100644 --- a/crates/zk-por-cli/src/main.rs +++ b/crates/zk-por-cli/src/main.rs @@ -51,7 +51,7 @@ impl Execute for ZkPorCommitCommands { ZkPorCommitCommands::Verify { global_proof_path, inclusion_proof_path } => { let global_proof_path = PathBuf::from_str(&global_proof_path).unwrap(); let inclusion_proof_path = - inclusion_proof_path.clone().map(|p| PathBuf::from_str(&p).unwrap()); + inclusion_proof_path.as_ref().map(|p| PathBuf::from_str(&p).unwrap()); verify(global_proof_path, inclusion_proof_path) } }