Update ed25519-dalek (#474)

Update ed25519-dalek (#473)
This commit is contained in:
natalie 2023-08-15 14:19:51 +01:00 committed by GitHub
parent ba8086db5c
commit ad07c9e4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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());