Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Feb 4, 2024
1 parent 607e6d0 commit 6cb98b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ fn start() -> Result<(), WSError> {
vec![Box::new(|_| true)]
};
let matrix = pks.verify_matrix(&mut reader, detached_signatures, &predicates)?;
let valid_pks = matrix.get(0).ok_or(WSError::UsageError("No predicates"))?;
let valid_pks = matrix.first().ok_or(WSError::UsageError("No predicates"))?;
if valid_pks.is_empty() {
println!("No valid public keys found");
} else {
Expand Down

0 comments on commit 6cb98b5

Please sign in to comment.