Revert "Remove error serialization/deserialization (#3110)" (#3151)

This reverts commit 76ac9419b8.
This commit is contained in:
hashmap
2019-11-29 13:37:50 +01:00
committed by Yeastplume
parent 3f528a8e66
commit ba9cdd323e
7 changed files with 469 additions and 15 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ pub struct Error {
inner: Context<ErrorKind>,
}
#[derive(Clone, Debug, Eq, Fail, PartialEq)]
#[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)]
/// Libwallet error types
pub enum ErrorKind {
/// SECP error