From 4e4c3110c96bb300255dce8c078ba5d43154a207 Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Mon, 6 May 2024 18:17:34 -0400 Subject: [PATCH] Undo unecessary changes --- crates/jws/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/jws/src/lib.rs b/crates/jws/src/lib.rs index 378177c0..6c6b0488 100644 --- a/crates/jws/src/lib.rs +++ b/crates/jws/src/lib.rs @@ -1,6 +1,6 @@ pub mod v2; -use base64::{engine::general_purpose, DecodeError, Engine as _}; +use base64::{engine::general_purpose, Engine as _}; use crypto::{ed25519::Ed25519, secp256k1::Secp256k1, CryptoError, CurveOperations}; use dids::{ bearer::{BearerDid, BearerDidError}, @@ -29,10 +29,6 @@ pub enum JwsError { AlgorithmNotFound(String), #[error(transparent)] CryptoError(#[from] CryptoError), - #[error("serde json error {0}")] - SerdeJsonError(String), - #[error(transparent)] - DecodeError(#[from] DecodeError), } pub fn splice_parts(compact_jws: &str) -> Result, JwsError> {