Skip to content

Commit

Permalink
chore: fix some clippy warnings
Browse files Browse the repository at this point in the history
These only show up when multicore is off
  • Loading branch information
Stebalien committed Oct 17, 2023
1 parent 08fcca2 commit 4d4d930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ pub fn aggregate(signatures: &[Signature]) -> Result<Signature, Error> {
}

let res = signatures
.into_iter()
.iter()
.fold(G2Projective::identity(), |acc, signature| {
acc + &signature.0
acc + signature.0
});

Ok(Signature(res.into()))
Expand Down

0 comments on commit 4d4d930

Please sign in to comment.