Skip to content

Commit

Permalink
Switch multi to blst::min_pk
Browse files Browse the repository at this point in the history
  • Loading branch information
matteomonti committed Jun 4, 2022
1 parent 81cc87d commit dd7e34a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/crypto/primitives/multi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use blst::min_sig::{
use blst::min_pk::{
AggregateSignature as BlstAggregateSignature, PublicKey as BlstPublicKey,
SecretKey as BlstSecretKey, Signature as BlstSignature,
};
Expand All @@ -18,9 +18,9 @@ use std::{
hash::{Hash, Hasher},
};

pub const PUBLIC_KEY_LENGTH: usize = 96;
pub const PUBLIC_KEY_LENGTH: usize = 48;
pub const SECRET_KEY_LENGTH: usize = 32;
pub const SIGNATURE_LENGTH: usize = 48;
pub const SIGNATURE_LENGTH: usize = 96;

pub const KEYPAIR_LENGTH: usize = PUBLIC_KEY_LENGTH + SECRET_KEY_LENGTH;

Expand Down

0 comments on commit dd7e34a

Please sign in to comment.