Update jsonrpsee (#317)

This commit is contained in:
Andrew Jones
2021-11-11 15:43:04 +00:00
committed by GitHub
parent 78fd590d17
commit a170a57641
2 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ impl RpcClient {
method: &str,
params: &[JsonValue],
) -> Result<T, Error> {
let params = params.into();
let params = Some(params.into());
log::debug!("request {}: {:?}", method, params);
let data = match self {
Self::WebSocket(inner) => {
@@ -238,7 +238,7 @@ impl RpcClient {
params: &[JsonValue],
unsubscribe_method: &str,
) -> Result<Subscription<T>, Error> {
let params = params.into();
let params = Some(params.into());
match self {
Self::WebSocket(inner) => {
inner