Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from EspressoSystems/snafu_update
Browse files Browse the repository at this point in the history
Update Snafu to 0.7
  • Loading branch information
nyospe committed Apr 5, 2022
2 parents 6e98531 + ea1de3a commit e02a9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/tagged_blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub enum TaggedBlobError {
impl<T: Tagged + CanonicalDeserialize> TaggedBlob for T {
fn from_tagged_blob(b64: &TaggedBase64) -> Result<Self, TaggedBlobError> {
if b64.tag() == Self::tag() {
Self::deserialize(&*b64.value()).context(SerError)
Self::deserialize(&*b64.value()).context(SerSnafu)
} else {
Err(TaggedBlobError::TagMismatch {
actual: b64.tag(),
Expand Down

0 comments on commit e02a9dd

Please sign in to comment.