Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivasilescu24 committed Aug 30, 2024
1 parent 979ee59 commit a006e70
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vm/tests/test_crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn test_verify_bls_signature() {
let success =
crypto_functions::verify_bls_signature(&public_key_bytes, message, &signature_bytes);

assert_eq!(success, true, "BLS signature verification failed");
assert!(success, "BLS signature verification failed");
}

#[cfg(feature = "bls")]
Expand Down Expand Up @@ -99,8 +99,5 @@ fn test_verify_aggregated_signatures() {
&final_agg_sig.to_bytes(),
);

assert_eq!(
success, true,
"Aggregated BLS signature verification failed"
);
assert!(success, "Aggregated BLS signature verification failed");
}

0 comments on commit a006e70

Please sign in to comment.