diff --git a/Cargo.toml b/Cargo.toml index 87ca07a..4f38e9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ jf-cap = { features=["std"], git = "https://github.com/EspressoSystems/cap.git" jf-utils = { features=["std"], git = "https://github.com/EspressoSystems/jellyfish.git" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.61" -snafu = { version = "0.6.10", features = ["backtraces"] } +snafu = { version = "0.7", features = ["backtraces"] } surf = "2.3.1" tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64.git", branch = "main"} tide = "0.16.0" diff --git a/src/tagged_blob.rs b/src/tagged_blob.rs index 661110d..fb1139b 100644 --- a/src/tagged_blob.rs +++ b/src/tagged_blob.rs @@ -27,7 +27,7 @@ pub enum TaggedBlobError { impl TaggedBlob for T { fn from_tagged_blob(b64: &TaggedBase64) -> Result { if b64.tag() == Self::tag() { - Self::deserialize(&*b64.value()).context(SerError) + Self::deserialize(&*b64.value()).context(SerSnafu) } else { Err(TaggedBlobError::TagMismatch { actual: b64.tag(),