mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
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:
+2
-2
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user