Skip to content

Commit 04d5329

Browse files
committed
Clean up crate::error reference
1 parent 8354476 commit 04d5329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bitwarden-crypto/src/keys/signing_crypto_key.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,10 @@ impl VerifyingKey {
351351
let sig = ed25519_dalek::Signature::from_bytes(
352352
signature
353353
.try_into()
354-
.map_err(|_| crate::error::CryptoError::InvalidSignature)?,
354+
.map_err(|_| CryptoError::InvalidSignature)?,
355355
);
356356
key.verify_strict(data, &sig)
357-
.map_err(|_| crate::error::CryptoError::InvalidSignature)
357+
.map_err(|_| CryptoError::InvalidSignature)
358358
}
359359
}
360360
}

0 commit comments

Comments
 (0)