deps: update jsonrpsee 0.3.0 (#289)

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
Greg Hill
2021-08-03 10:26:29 +01:00
committed by GitHub
parent 08a3e6574d
commit 2749bd300b
5 changed files with 14 additions and 15 deletions
+6 -5
View File
@@ -48,18 +48,17 @@ use jsonrpsee_types::{
params::{
Id,
JsonRpcParams,
JsonRpcSubscriptionParams,
SubscriptionId,
TwoPointZero,
},
request::{
JsonRpcCallSer,
JsonRpcInvalidRequest,
JsonRpcNotification,
JsonRpcNotificationSer,
},
response::{
JsonRpcResponse,
JsonRpcSubscriptionResponseAlloc,
},
response::JsonRpcResponse,
},
DeserializeOwned,
Error as JsonRpseeError,
@@ -210,7 +209,9 @@ impl SubxtClient {
while let Some(Ok(response)) = from_back.next().await
{
let notif = serde_json::from_str::<
JsonRpcSubscriptionResponseAlloc<JsonValue>,
JsonRpcNotification<
JsonRpcSubscriptionParams<_>,
>,
>(
&response
)