|
1 | | -use std::collections::HashMap; |
2 | | -use std::fmt::Display; |
3 | | -use std::hash::Hash; |
| 1 | +use std::{collections::HashMap, fmt::Display, hash::Hash}; |
4 | 2 |
|
5 | 3 | use anyhow::anyhow; |
6 | 4 | use blake2::digest::{Digest, FixedOutput}; |
7 | 5 | use serde::{Deserialize, Serialize}; |
8 | 6 |
|
9 | | -use crate::membership_commitment::MerkleBatchPath; |
| 7 | +use super::AggregateVerificationKey; |
10 | 8 | use crate::{ |
11 | | - AggregateSignatureError, AggregateVerificationKey, Parameters, StmResult, |
| 9 | + AggregateSignatureError, Parameters, StmResult, membership_commitment::MerkleBatchPath, |
12 | 10 | proof_system::ConcatenationProof, |
13 | 11 | }; |
14 | 12 |
|
@@ -211,10 +209,10 @@ mod tests { |
211 | 209 | use rand_chacha::ChaCha20Rng; |
212 | 210 | use rand_core::SeedableRng; |
213 | 211 |
|
214 | | - use crate::signature_scheme::{BlsSigningKey, BlsVerificationKeyProofOfPossession}; |
| 212 | + use super::{AggregateSignature, AggregateSignatureType}; |
215 | 213 | use crate::{ |
216 | | - AggregateSignature, AggregateSignatureType, Clerk, ClosedKeyRegistration, |
217 | | - KeyRegistration, Parameters, Signer, |
| 214 | + Clerk, ClosedKeyRegistration, KeyRegistration, Parameters, Signer, |
| 215 | + signature_scheme::{BlsSigningKey, BlsVerificationKeyProofOfPossession}, |
218 | 216 | }; |
219 | 217 |
|
220 | 218 | type D = Blake2b<U32>; |
|
0 commit comments