fix: use correct size for ed25519 signature
This commit is contained in:
@@ -52,7 +52,7 @@ impl Deref for Ed25519PubKey {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Deref for Ed25519Signature {
|
impl Deref for Ed25519Signature {
|
||||||
type Target = [u8; 32];
|
type Target = [u8; 64];
|
||||||
|
|
||||||
fn deref(&self) -> &Self::Target {
|
fn deref(&self) -> &Self::Target {
|
||||||
self.0.deref().try_into().expect("this should never fail")
|
self.0.deref().try_into().expect("this should never fail")
|
||||||
|
|||||||
Reference in New Issue
Block a user