API Lifecycle Implementation, Part 2 (#217)

* additon of 'get_mnemonic' API function

* rustfmt

* added 'change_password' api function

* rustfmt

* add 'delete_wallet' function'

* rustfmt
This commit is contained in:
Yeastplume
2019-09-11 10:27:30 +01:00
committed by GitHub
parent 41c0058e84
commit 78e30aa779
10 changed files with 430 additions and 14 deletions
+2 -2
View File
@@ -405,8 +405,8 @@ where
let value: OUT = v;
Ok(Ok(value))
}
Err(e) => {
println!("Error deserializing: {:?}", e);
Err(_) => {
//println!("Error deserializing: {:?}", e);
let value: OUT = serde_json::from_value(json!("Null")).unwrap();
Ok(Ok(value))
}