Revert "json: deserialize note ids into bytes"

This reverts commit 1ba597fc0a.
This commit is contained in:
William Casarin
2023-07-06 17:50:20 -07:00
parent 1ba597fc0a
commit 672f95749a
9 changed files with 29 additions and 84 deletions

View File

@@ -6,7 +6,6 @@ pub enum Error {
MessageDecodeFailed,
InvalidSignature,
Json(serde_json::Error),
Hex(hex::FromHexError),
Generic(String),
}
@@ -37,9 +36,3 @@ impl From<serde_json::Error> for Error {
Error::Json(e)
}
}
impl From<hex::FromHexError> for Error {
fn from(e: hex::FromHexError) -> Self {
Error::Hex(e)
}
}