fix: use correct size for ed25519 signature

This commit is contained in:
2024-10-11 14:55:54 +02:00
parent 57dae7f181
commit 5c05bd7921

View File

@@ -52,7 +52,7 @@ impl Deref for Ed25519PubKey {
}
impl Deref for Ed25519Signature {
type Target = [u8; 32];
type Target = [u8; 64];
fn deref(&self) -> &Self::Target {
self.0.deref().try_into().expect("this should never fail")