Skip to content

Commit

Permalink
Fix build error STM
Browse files Browse the repository at this point in the history
Build error with BLST:
error[E0599]: no method named  found for struct  in the current scope
  • Loading branch information
jpraynaud committed Oct 2, 2023
1 parent ac7c616 commit 858f016
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mithril-stm/src/multi_sig.rs
Expand Up @@ -405,10 +405,11 @@ impl Signature {

/// Batch verify several sets of signatures with their corresponding verification keys.
pub fn batch_verify_aggregates(
msgs: &[Vec<u8>],
vks: &[VerificationKey],
sigs: &[Signature],
_msgs: &[Vec<u8>],
_vks: &[VerificationKey],
_sigs: &[Signature],
) -> Result<(), MultiSignatureError> {
/*
let batched_sig: BlstSig = match AggregateSignature::aggregate(
&(sigs.iter().map(|sig| &sig.0).collect::<Vec<&BlstSig>>()),
false,
Expand All @@ -428,6 +429,8 @@ impl Signature {
None,
)
.map_err(|_| MultiSignatureError::BatchInvalid)
*/
todo!()
}
}

Expand Down

0 comments on commit 858f016

Please sign in to comment.