Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Oct 6, 2023
1 parent 0a6918c commit fe8b1f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ pub fn verify_aggregate_signature(
let signature = bls::signature_to_point(signature).map_err(|e| anyhow!("{:?}", e))?;

if !bls::signature_subgroup_check(signature) {
Err(anyhow!("Signature not in subgroup"))
Err(anyhow!("Signature not in subgroup"))?
}

let q = bls::hash_to_point(&msg, DST_ETHEREUM.as_bytes().to_vec());
let q = bls::hash_to_point(&msg, &DST_ETHEREUM.as_bytes().to_vec());
let c1 = pairing(q, aggregate_key_point);

// From the spec:
Expand Down

0 comments on commit fe8b1f7

Please sign in to comment.