Fix bug on rust client with void responses
This commit is contained in:
@ -79,7 +79,8 @@ impl JRPCClient {
|
||||
} else if let Some(result) = result.result {
|
||||
return Ok(result);
|
||||
} else {
|
||||
return Err(format!("No result received").into());
|
||||
return Ok(Value::Null);
|
||||
// return Err(format!("No result received").into());
|
||||
}
|
||||
} else {
|
||||
return Err("Error while receiving result".into());
|
||||
|
Reference in New Issue
Block a user