parent
ba8086db5c
commit
ad07c9e4d4
|
@ -30,7 +30,7 @@ sha2 = "0.10.2"
|
|||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] }
|
||||
ed25519-dalek = "1.0.1"
|
||||
ed25519-dalek = "2.0.0"
|
||||
hex = "0.4.3"
|
||||
lazy_static = "1.4"
|
||||
proptest = "1.0"
|
||||
|
|
|
@ -19,7 +19,7 @@ pub fn verify_signature(
|
|||
};
|
||||
let pub_key = {
|
||||
let bytes = group_pubkey.serialize();
|
||||
ed25519_dalek::PublicKey::from_bytes(&bytes).unwrap()
|
||||
ed25519_dalek::VerifyingKey::from_bytes(&bytes).unwrap()
|
||||
};
|
||||
// Check that signature validation has the expected result.
|
||||
assert!(pub_key.verify(msg, &sig).is_ok());
|
||||
|
|
Loading…
Reference in New Issue