Update jsonrpsee (#317)

This commit is contained in:
Andrew Jones authored and GitHub committed 2021-11-11 15:43:04 +00:00
1 parent 78fd590d17
commit a170a57641
2 files changed
+6 -12

No files matched your search

+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