Revert "json: deserialize note ids into bytes"
This reverts commit 1ba597fc0a.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user